aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ())