aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/view-result.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
commitc073adb85f1f28c0f052530ff58f3ff27d5c5141 (patch)
treed70796eb4148f3609bdee53a6bb782010411ba8c /odb/mysql/view-result.txx
parent4b214c1ece26d6b0a6f36b9ea795119f89273c0d (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/mysql/view-result.txx')
-rw-r--r--odb/mysql/view-result.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/view-result.txx b/odb/mysql/view-result.txx
index c8f964e..6161909 100644
--- a/odb/mysql/view-result.txx
+++ b/odb/mysql/view-result.txx
@@ -39,7 +39,7 @@ namespace odb
odb::database& db (this->database ());
view_traits::callback (db, view, callback_event::pre_load);
- view_traits::init (view, statements_.image (), db);
+ view_traits::init (view, statements_.image (), &db);
view_traits::callback (db, view, callback_event::post_load);
}