mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-25 02:18:55 +08:00
Fix errors relative to OpenFlags
Also handle extended error codes.
This commit is contained in:
@@ -875,7 +875,7 @@ impl InnerConnection {
|
||||
&mut c_stmt,
|
||||
ptr::null_mut(),
|
||||
);
|
||||
if rc != ffi::SQLITE_LOCKED {
|
||||
if (rc & 0xFF) != ffi::SQLITE_LOCKED {
|
||||
break;
|
||||
}
|
||||
rc = unlock_notify::wait_for_unlock_notify(self.db);
|
||||
|
||||
Reference in New Issue
Block a user