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

If the OP_ParseSchema opcode with a non-NULL P4 operand does not parse any

rows out of the sqlite_master table, that indicates that the sqlite_master
table is corrupt, so raise an SQLITE_CORRUPT error.

FossilOrigin-Name: 598d7358e7329f0de6e3defc217665909e46874258ac29592ee2fd53e6411cda
This commit is contained in:
drh
2019-01-05 21:09:37 +00:00
parent c210c08891
commit 6b86e51eea
5 changed files with 20 additions and 10 deletions

View File

@@ -3362,6 +3362,7 @@ typedef struct {
int iDb; /* 0 for main database. 1 for TEMP, 2.. for ATTACHed */
int rc; /* Result code stored here */
u32 mInitFlags; /* Flags controlling error messages */
u32 nInitRow; /* Number of rows processed */
} InitData;
/*