File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
SQLite3MultipleCiphers/src Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -92309,10 +92309,13 @@ SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
9230992309 if( vdbeSafetyNotNull(v) ){
9231092310 return SQLITE_MISUSE_BKPT;
9231192311 }
92312+ db = v->db;
9231292313 if( v->isInterrupted ){
92313- return SQLITE_INTERRUPT;
92314+ rc = SQLITE_INTERRUPT;
92315+ v->rc = rc;
92316+ db->errCode = rc;
92317+ return rc;
9231492318 }
92315- db = v->db;
9231692319 sqlite3_mutex_enter(db->mutex);
9231792320 while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
9231892321 && cnt++ < SQLITE_MAX_SCHEMA_RETRY ){
Original file line number Diff line number Diff line change @@ -1555,6 +1555,9 @@ extern "C" {
15551555extern "C" {
15561556 pub fn sqlite3_reset ( pStmt : * mut sqlite3_stmt ) -> :: std:: os:: raw:: c_int ;
15571557}
1558+ extern "C" {
1559+ pub fn libsql_stmt_interrupt ( stmt : * mut sqlite3_stmt ) ;
1560+ }
15581561extern "C" {
15591562 pub fn sqlite3_create_function (
15601563 db : * mut sqlite3 ,
Original file line number Diff line number Diff line change @@ -92309,10 +92309,13 @@ SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
9230992309 if( vdbeSafetyNotNull(v) ){
9231092310 return SQLITE_MISUSE_BKPT;
9231192311 }
92312+ db = v->db;
9231292313 if( v->isInterrupted ){
92313- return SQLITE_INTERRUPT;
92314+ rc = SQLITE_INTERRUPT;
92315+ v->rc = rc;
92316+ db->errCode = rc;
92317+ return rc;
9231492318 }
92315- db = v->db;
9231692319 sqlite3_mutex_enter(db->mutex);
9231792320 while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
9231892321 && cnt++ < SQLITE_MAX_SCHEMA_RETRY ){
You can’t perform that action at this time.
0 commit comments