From 3a1eed21d4d5d0e7f6a9f400420fdc28d7be9b61 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Feb 2012 10:08:18 +0200 Subject: Add support for composite object ids New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. --- odb/relational/mysql/model.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/relational/mysql/model.cxx') diff --git a/odb/relational/mysql/model.cxx b/odb/relational/mysql/model.cxx index 8e07f38..11ca157 100644 --- a/odb/relational/mysql/model.cxx +++ b/odb/relational/mysql/model.cxx @@ -35,7 +35,7 @@ namespace relational { // Make sure the column is mapped to an ENUM or integer type. // - sql_type const& t (column_sql_type (m)); + sql_type const& t (parse_sql_type (column_type (), m)); switch (t.type) { -- cgit v1.1