Skip to content
Permalink
Browse files

Issue #12: clear internal cache when closing an SQLite connection

  • Loading branch information
ansgarbecker committed Jan 19, 2020
1 parent 8517ff2 commit 05247dc9b8831349ae9debff0efbec02477b28af
Showing with 1 addition and 0 deletions.
  1. +1 −0 source/dbconnection.pas
@@ -2444,6 +2444,7 @@ procedure TSQLiteConnection.SetActive(Value: Boolean);
end;
end else begin
if FHandle <> nil then begin
ClearCache(False);
FLib.sqlite3_close(FHandle);
FHandle := nil;
FActive := False;

0 comments on commit 05247dc

Please sign in to comment.
You can’t perform that action at this time.