aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-27 15:09:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-27 15:09:50 +0200
commitb2d84383f0bdc81e690e53c700ec8c5fe8cd84e1 (patch)
treeaa02157960f6cb50971beb717525999602d0f098
parentea69ce02657386af83dd61844c4094bc455ca386 (diff)
Correct point at which stream_result() is called
-rw-r--r--odb/oracle/object-result.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/object-result.txx b/odb/oracle/object-result.txx
index 6921088..5048601 100644
--- a/odb/oracle/object-result.txx
+++ b/odb/oracle/object-result.txx
@@ -43,13 +43,13 @@ namespace odb
typename object_traits::image_type& i (statements_.image ());
object_traits::init (obj, i, db);
+ statement_->stream_result ();
// Initialize the id image and binding and load the rest of the object
// (containers, etc).
//
typename object_traits::id_image_type& idi (statements_.id_image ());
object_traits::init (idi, object_traits::id (i));
- statement_->stream_result ();
binding& idb (statements_.id_image_binding ());
if (idi.version != statements_.id_image_version () || idb.version == 0)