diff options
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r-- | src/vdbeaux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c index 47bb7a081..7457045f5 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -1358,7 +1358,8 @@ int sqlite3VdbeHalt(Vdbe *p){ int mrc; /* Primary error code from p->rc */ /* Check for one of the special errors - SQLITE_NOMEM or SQLITE_IOERR */ mrc = p->rc & 0xff; - isSpecialError = ((mrc==SQLITE_NOMEM || mrc==SQLITE_IOERR)?1:0); + isSpecialError = ( + (mrc==SQLITE_NOMEM || mrc==SQLITE_IOERR || mrc==SQLITE_INTERRUPT)?1:0); if( isSpecialError ){ /* This loop does static analysis of the query to see which of the ** following three categories it falls into: |