From 13c5fe476f14026cbb32283479826d08ea942f67 Mon Sep 17 00:00:00 2001 From: James Crook Date: Mon, 14 Sep 2020 19:00:25 +0100 Subject: [PATCH] Remove test code which generated a disk full warning. --- src/DBConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DBConnection.cpp b/src/DBConnection.cpp index 0cbc3c980..88de59dd5 100644 --- a/src/DBConnection.cpp +++ b/src/DBConnection.cpp @@ -320,7 +320,7 @@ void DBConnection::CheckpointThread() // Reset mCheckpointActive = false; - if ( rc == SQLITE_OK ) { + if ( rc != SQLITE_OK ) { // Can't checkpoint -- maybe the device has too little space wxFileNameWrapper fName{ name }; auto path = FileException::AbbreviatePath( fName );