diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-21 13:11:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-21 13:11:43 +0200 |
commit | 593c5e310a0786aca70a2a43d0aa1124504fc785 (patch) | |
tree | 2160e270cb3d25822aa737199a0c876ca5dc47d0 | |
parent | 1dc0e3c296c52b3537e43ce9d1fc5ac62776e992 (diff) |
Add dynamic multi-database query support
-rw-r--r-- | common/readonly/driver.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/readonly/driver.cxx b/common/readonly/driver.cxx index 2e692cf..991e000 100644 --- a/common/readonly/driver.cxx +++ b/common/readonly/driver.cxx @@ -204,9 +204,9 @@ main (int argc, char* argv[]) // Readonly object. // { - typedef odb::object_traits_impl<simple_object, odb::id_default> so_traits; - typedef odb::object_traits_impl<ro_object, odb::id_default> ro_traits; - typedef odb::object_traits_impl<rw_object, odb::id_default> rw_traits; + typedef odb::object_traits_impl<simple_object, odb::id_common> so_traits; + typedef odb::object_traits_impl<ro_object, odb::id_common> ro_traits; + typedef odb::object_traits_impl<rw_object, odb::id_common> rw_traits; assert (so_traits::column_count == so_traits::id_column_count + so_traits::readonly_column_count); |