From 344fd3309516aaa7faa8d0b91511ed868a5d60a4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Apr 2021 09:13:01 +0200 Subject: Move call to connection::invalidate_results() to clear() --- odb/sqlite/connection.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/sqlite/connection.cxx') 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. // -- cgit v1.1