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

Only invalidate the schema when the OP_ParseSchema opcode fails, not

on any general failure of a vdbe program.

FossilOrigin-Name: 11f68d997da4aadf3f51c12c5139f3fdda8678bf
This commit is contained in:
drh
2012-01-25 20:43:22 +00:00
parent 585db0e23a
commit 4d0d91666c
4 changed files with 10 additions and 15 deletions

View File

@@ -4833,6 +4833,7 @@ case OP_ParseSchema: {
db->init.busy = 0;
}
}
if( rc ) sqlite3ResetInternalSchema(db, -1);
if( rc==SQLITE_NOMEM ){
goto no_mem;
}