mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 04:32:19 +08:00
Unlock notification
Test added
This commit is contained in:
@@ -35,8 +35,8 @@ impl RawStatement {
|
||||
loop {
|
||||
rc = unsafe { ffi::sqlite3_step(self.0) };
|
||||
if rc == ffi::SQLITE_LOCKED {
|
||||
if unsafe { ffi::sqlite3_extended_errcode(self.1) } !=
|
||||
ffi::SQLITE_LOCKED_SHAREDCACHE
|
||||
if unsafe { ffi::sqlite3_extended_errcode(self.1) }
|
||||
!= ffi::SQLITE_LOCKED_SHAREDCACHE
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user