1
0
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:
dan
2016-01-29 18:04:31 +00:00
parent e61bbf4417
commit 83f0ab8087
3 changed files with 10 additions and 8 deletions

View File

@@ -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