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){
92309
92309
if( vdbeSafetyNotNull(v) ){
92310
92310
return SQLITE_MISUSE_BKPT;
92311
92311
}
92312
+ db = v->db;
92312
92313
if( v->isInterrupted ){
92313
- return SQLITE_INTERRUPT;
92314
+ rc = SQLITE_INTERRUPT;
92315
+ v->rc = rc;
92316
+ db->errCode = rc;
92317
+ return rc;
92314
92318
}
92315
- db = v->db;
92316
92319
sqlite3_mutex_enter(db->mutex);
92317
92320
while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
92318
92321
&& cnt++ < SQLITE_MAX_SCHEMA_RETRY ){
Original file line number Diff line number Diff line change @@ -1555,6 +1555,9 @@ extern "C" {
1555
1555
extern "C" {
1556
1556
pub fn sqlite3_reset ( pStmt : * mut sqlite3_stmt ) -> :: std:: os:: raw:: c_int ;
1557
1557
}
1558
+ extern "C" {
1559
+ pub fn libsql_stmt_interrupt ( stmt : * mut sqlite3_stmt ) ;
1560
+ }
1558
1561
extern "C" {
1559
1562
pub fn sqlite3_create_function (
1560
1563
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){
92309
92309
if( vdbeSafetyNotNull(v) ){
92310
92310
return SQLITE_MISUSE_BKPT;
92311
92311
}
92312
+ db = v->db;
92312
92313
if( v->isInterrupted ){
92313
- return SQLITE_INTERRUPT;
92314
+ rc = SQLITE_INTERRUPT;
92315
+ v->rc = rc;
92316
+ db->errCode = rc;
92317
+ return rc;
92314
92318
}
92315
- db = v->db;
92316
92319
sqlite3_mutex_enter(db->mutex);
92317
92320
while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
92318
92321
&& cnt++ < SQLITE_MAX_SCHEMA_RETRY ){
You can’t perform that action at this time.
0 commit comments