We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc8126 commit d886746Copy full SHA for d886746
sqleet.c
@@ -412,7 +412,7 @@ static int codec_set_to(Codec *codec, Btree *pBt)
412
413
/* Acquire shared pager lock (may block due to concurrent writes) */
414
while ((rc = sqlite3PagerSharedLock(pager)) != SQLITE_OK) {
415
- if (rc != SQLITE_BUSY || !btreeInvokeBusyHandler(pBt->pBt))
+ if ((rc & 0xFF) != SQLITE_BUSY || !btreeInvokeBusyHandler(pBt->pBt))
416
goto kill_codec;
417
}
418
0 commit comments