aboutsummaryrefslogtreecommitdiff
path: root/odb/database.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-21 13:11:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-21 13:11:43 +0200
commite68f09c0e8c747474745f3438496e9352a199dbd (patch)
treeb609371a129df96147aa77fc838ceca39b8be533 /odb/database.txx
parentfd5ba96357002c0964453fea38ee6a813cf02826 (diff)
Add dynamic multi-database query support
Diffstat (limited to 'odb/database.txx')
-rw-r--r--odb/database.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/database.txx b/odb/database.txx
index 5556982..df58f35 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -15,7 +15,7 @@ namespace odb
// T is always object_type. We also don't need to check for transaction
// here; object_traits::query () does this.
//
- result<T> r (query_<T, id_default>::call (*this, q));
+ result<T> r (query_<T, id_common>::call (*this, q));
if (cache)
r.cache ();