1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Make a new branch in the SqlExec opcode reachable by tests.

FossilOrigin-Name: 023ad470b68b7c09e159244493a6d0285d706efdecd8719a71e6885509d4750c
This commit is contained in:
drh
2023-10-17 18:59:13 +00:00
parent 42b49a3138
commit 6db4e5ed4c
3 changed files with 8 additions and 8 deletions

View File

@@ -6927,7 +6927,7 @@ case OP_SqlExec: {
db->nSqlExec--;
db->xAuth = xAuth;
db->mTrace = mTrace;
if( rc || zErr ){
if( zErr || rc ){
sqlite3VdbeError(p, "%s", zErr);
sqlite3_free(zErr);
if( rc==SQLITE_NOMEM ) goto no_mem;