aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-22 11:03:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-12-22 11:03:29 +0200
commit2f6ff419982feb233cb3d29410740bc546d4317d (patch)
tree5a69ff42238d0be6efaf03f6f3b55a1c9dd24c0e
parent522cd0432ca20207dfb1e8be9d4e0980158a7771 (diff)
Handle delayed result set freeing in all places
-rw-r--r--odb/mssql/object-statements.txx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/mssql/object-statements.txx b/odb/mssql/object-statements.txx
index ebdad67..8b273d8 100644
--- a/odb/mssql/object-statements.txx
+++ b/odb/mssql/object-statements.txx
@@ -97,6 +97,7 @@ namespace odb
//
object_traits::init (*l.obj, image (), db);
find_->stream_result ();
+ find_->free_result (); // Our find_() version delays result freeing.
object_traits::load_ (*this, *l.obj); // Load containers, etc.
if (!delayed_.empty ())