From bc9e3154a6ebe08c65c3be66cf642c30c5c1a726 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Jul 2011 14:10:00 +0200 Subject: Parse and store MySQL ENUM enumerator strings --- odb/relational/mysql/context.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/relational/mysql/context.hxx') diff --git a/odb/relational/mysql/context.hxx b/odb/relational/mysql/context.hxx index 00ebe57..26568ec 100644 --- a/odb/relational/mysql/context.hxx +++ b/odb/relational/mysql/context.hxx @@ -6,6 +6,8 @@ #ifndef ODB_RELATIONAL_MYSQL_CONTEXT_HXX #define ODB_RELATIONAL_MYSQL_CONTEXT_HXX +#include + #include namespace relational @@ -72,6 +74,7 @@ namespace relational bool unsign; bool range; unsigned int range_value; // MySQL max value is 2^32 - 1 (LONGBLOG/TEXT). + std::vector enumerators; // Enumerator strings for ENUM. }; class context: public virtual relational::context -- cgit v1.1