Skip to content

Commit b8503e8

Browse files
committed
upgraded bundled SQLite to 3.8.7.2, take care of SQLITE_BUSY_RECOVERY and SQLITE_BUSY_SNAPSHOT
1 parent e657309 commit b8503e8

3 files changed

Lines changed: 127 additions & 75 deletions

File tree

‎Data/SQLite/src/Utility.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ void Utility::throwException(int rc, const std::string& addErrMsg)
164164
case SQLITE_ABORT:
165165
throw ExecutionAbortedException(std::string("Callback routine requested an abort"), addErrMsg);
166166
case SQLITE_BUSY:
167+
case SQLITE_BUSY_RECOVERY:
168+
case SQLITE_BUSY_SNAPSHOT:
167169
throw DBLockedException(std::string("The database file is locked"), addErrMsg);
168170
case SQLITE_LOCKED:
169171
throw TableLockedException(std::string("A table in the database is locked"), addErrMsg);

0 commit comments

Comments
 (0)