diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-22 14:10:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-22 17:57:00 +0200 |
commit | bc9e3154a6ebe08c65c3be66cf642c30c5c1a726 (patch) | |
tree | 77c1bf0021980ce3d2edf1ac3d4be209bbd71917 /odb/relational/mysql/context.hxx | |
parent | cfc64a1b06cbef49050bc4555a60806b59d90f8b (diff) |
Parse and store MySQL ENUM enumerator strings
Diffstat (limited to 'odb/relational/mysql/context.hxx')
-rw-r--r-- | odb/relational/mysql/context.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 <vector> + #include <odb/relational/context.hxx> 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<std::string> enumerators; // Enumerator strings for ENUM. }; class context: public virtual relational::context |