mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Prepend "rc!=SQLITE_OK || " to the nExtraDelete assert() condition.
FossilOrigin-Name: 2a055ed0afd56e8c6b17cfc31e7808debe9ec765
This commit is contained in:
@@ -6783,7 +6783,9 @@ vdbe_return:
|
||||
testcase( nVmStep>0 );
|
||||
p->aCounter[SQLITE_STMTSTATUS_VM_STEP] += (int)nVmStep;
|
||||
sqlite3VdbeLeave(p);
|
||||
assert( nExtraDelete==0 || sqlite3_strlike("DELETE%",p->zSql,0)!=0 );
|
||||
assert( rc!=SQLITE_OK || nExtraDelete==0
|
||||
|| sqlite3_strlike("DELETE%",p->zSql,0)!=0
|
||||
);
|
||||
return rc;
|
||||
|
||||
/* Jump to here if a string or blob larger than SQLITE_MAX_LENGTH
|
||||
|
Reference in New Issue
Block a user