diff options
Diffstat (limited to 'odb/relational/mysql/common.cxx')
-rw-r--r-- | odb/relational/mysql/common.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/relational/mysql/common.cxx b/odb/relational/mysql/common.cxx index 82acc42..c9a33e4 100644 --- a/odb/relational/mysql/common.cxx +++ b/odb/relational/mysql/common.cxx @@ -277,11 +277,12 @@ namespace relational } void member_image_type:: - traverse_enum (member_info&) + traverse_enum (member_info& mi) { - // Represented as string. + // Represented as either integer or string. // - type_ = "details::buffer"; + type_ = "mysql::value_traits< " + mi.fq_type () + + ", mysql::id_enum >::image_type"; } void member_image_type:: |