diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-22 12:28:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-22 12:28:04 +0200 |
commit | ae434e2dcc4d86063601a46c96c6ccf9ac267bad (patch) | |
tree | eeaa3b621a73af098a67cfa0ad8caa0b5fe0bd12 /odb/mssql/object-result.txx | |
parent | 3c62b4b218aedfe66cef51ce68c48b8e7e823328 (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/mssql/object-result.txx')
-rw-r--r-- | odb/mssql/object-result.txx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mssql/object-result.txx b/odb/mssql/object-result.txx index f368f04..efaeae9 100644 --- a/odb/mssql/object-result.txx +++ b/odb/mssql/object-result.txx @@ -64,7 +64,7 @@ namespace odb typename object_traits::image_type& i ( use_copy_ ? *image_copy_ : statements_.image ()); - object_traits::init (obj, i, db); + object_traits::init (obj, i, &db); // If we are using a copy, make sure the callback information for // long data also comes from the copy. @@ -213,7 +213,7 @@ namespace odb object_traits::init (obj, use_copy_ ? *image_copy_ : statements_.image (), - db); + &db); // If we are using a copy, make sure the callback information for // long data also comes from the copy. |