Skip to content

Commit

Permalink
bundled unfuck wal busy lock
Browse files Browse the repository at this point in the history
  • Loading branch information
pereman2 committed Feb 26, 2025
1 parent 98c29c0 commit bb03e7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libsql-ffi/bundled/src/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -69640,10 +69640,6 @@ static int sqlite3WalCheckpoint(
rc = walBusyLock(pWal, xBusy2, pBusyArg, WAL_WRITE_LOCK, 1);
if( rc==SQLITE_OK ){
pWal->writeLock = 1;
}else if( rc==SQLITE_BUSY ){
eMode2 = SQLITE_CHECKPOINT_PASSIVE;
xBusy2 = 0;
rc = SQLITE_OK;
}
}
}
Expand Down

0 comments on commit bb03e7f

Please sign in to comment.