aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/connection.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-29 09:13:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-30 10:07:08 +0200
commit344fd3309516aaa7faa8d0b91511ed868a5d60a4 (patch)
tree1c75868f6afa68958e5ac446e8f68f2e278a4735 /odb/sqlite/connection.cxx
parent79cb2f05559e1ed9e724efd4f5dbceca794e7162 (diff)
Move call to connection::invalidate_results() to clear()
Diffstat (limited to 'odb/sqlite/connection.cxx')
-rw-r--r--odb/sqlite/connection.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/sqlite/connection.cxx b/odb/sqlite/connection.cxx
index a807949..c9e5d75 100644
--- a/odb/sqlite/connection.cxx
+++ b/odb/sqlite/connection.cxx
@@ -185,6 +185,8 @@ namespace odb
void connection::
clear ()
{
+ invalidate_results ();
+
// The current first active_object will remove itself from the list
// and make the second object (if any) the new first.
//