aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/object-result.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/object-result.txx')
-rw-r--r--odb/mssql/object-result.txx4
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.