Commit cea6868a authored by Craig Janeway's avatar Craig Janeway 💬

Update SqliteErrors.h

parent 61db100c
Pipeline #8943 passed with stage
in 27 minutes and 17 seconds
......@@ -572,7 +572,7 @@ static inline void mapToException( const char* reqStr, const char* errMsg, int e
{
case SQLITE_LOCKED_SHAREDCACHE:
throw errors::DatabaseLockedSharedCache( reqStr, errMsg, extRes );
case SQLITE_LOCKED_VTAB:
case SQLITE_LOCKED:
throw errors::DatabaseLockedVtab( reqStr, errMsg, extRes );
default:
throw errors::DatabaseLocked( reqStr, errMsg, extRes );
......@@ -682,7 +682,7 @@ static inline void mapToException( const char* reqStr, const char* errMsg, int e
throw errors::ErrorMissingColSeq( reqStr, errMsg, extRes );
case SQLITE_ERROR_RETRY:
throw errors::ErrorRetry( reqStr, errMsg, extRes );
case SQLITE_ERROR_SNAPSHOT:
case SQLITE_BUSY_SNAPSHOT:
throw errors::ErrorSnapshot( reqStr, errMsg, extRes );
default:
throw errors::GenericError( reqStr, errMsg, extRes );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment