aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/object-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-02-22 12:28:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-02-22 12:29:42 +0200
commit5adb99be4d837b439872a94be2f2a36129762585 (patch)
tree41b9e0b293e92d2dec3b1b60213143365ac6d342 /odb/pgsql/object-statements.txx
parentbae6ada688e0b09c773edc9b9f7e54f98b019cad (diff)
Add support for composite object ids
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
Diffstat (limited to 'odb/pgsql/object-statements.txx')
-rw-r--r--odb/pgsql/object-statements.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/object-statements.txx b/odb/pgsql/object-statements.txx
index 583b788..2b21f76 100644
--- a/odb/pgsql/object-statements.txx
+++ b/odb/pgsql/object-statements.txx
@@ -123,7 +123,7 @@ namespace odb
// loads being added to the delayed_ vector. We need to process
// those before we call the post callback.
//
- object_traits::init (*l.obj, image (), db);
+ object_traits::init (*l.obj, image (), &db);
object_traits::load_ (*this, *l.obj); // Load containers, etc.
if (!delayed_.empty ())