aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/object-result.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/object-result.txx')
-rw-r--r--odb/oracle/object-result.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/object-result.txx b/odb/oracle/object-result.txx
index aae63f6..19ac6fe 100644
--- a/odb/oracle/object-result.txx
+++ b/odb/oracle/object-result.txx
@@ -60,7 +60,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
// LOB data also comes from the copy.
@@ -211,7 +211,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
// LOB data also comes from the copy.