aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/polymorphic-object-statements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:07 +0200
commitc0af27a770b1505ad6a1226f57f90642ce395296 (patch)
tree21fa70b3fa49c639cef4d5f07b73815291e3be1c /odb/mysql/polymorphic-object-statements.hxx
parent46b2db37445b97cd3dbb8acd4f417e0851a30e4f (diff)
Ground work for multi-database support
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
Diffstat (limited to 'odb/mysql/polymorphic-object-statements.hxx')
-rw-r--r--odb/mysql/polymorphic-object-statements.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/polymorphic-object-statements.hxx b/odb/mysql/polymorphic-object-statements.hxx
index 748e3ef..060654a 100644
--- a/odb/mysql/polymorphic-object-statements.hxx
+++ b/odb/mysql/polymorphic-object-statements.hxx
@@ -153,7 +153,7 @@ namespace odb
{
public:
typedef T object_type;
- typedef odb::object_traits<object_type> object_traits;
+ typedef object_traits_impl<object_type, id_mysql> object_traits;
typedef typename object_traits::id_type id_type;
typedef typename object_traits::pointer_type pointer_type;
typedef typename object_traits::id_image_type id_image_type;