Skip to content

Commit

Permalink
libsql-ffi: Update bundled SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
penberg committed Feb 21, 2025
1 parent 39a3d73 commit 40a723e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion libsql-ffi/bundled/SQLite3MultipleCiphers/src/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -92309,10 +92309,12 @@ SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
if( vdbeSafetyNotNull(v) ){
return SQLITE_MISUSE_BKPT;
}
db = v->db;
if( v->isInterrupted ){
v->rc = rc;
db->errCode = rc;
return SQLITE_INTERRUPT;
}
db = v->db;
sqlite3_mutex_enter(db->mutex);
while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
&& cnt++ < SQLITE_MAX_SCHEMA_RETRY ){
Expand Down
4 changes: 3 additions & 1 deletion libsql-ffi/bundled/src/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -92309,10 +92309,12 @@ SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
if( vdbeSafetyNotNull(v) ){
return SQLITE_MISUSE_BKPT;
}
db = v->db;
if( v->isInterrupted ){
v->rc = rc;
db->errCode = rc;
return SQLITE_INTERRUPT;
}
db = v->db;
sqlite3_mutex_enter(db->mutex);
while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
&& cnt++ < SQLITE_MAX_SCHEMA_RETRY ){
Expand Down

0 comments on commit 40a723e

Please sign in to comment.