diff options
author | drh <drh@noemail.net> | 2019-01-05 21:09:37 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-01-05 21:09:37 +0000 |
commit | 6b86e51eea956e5b3532f4042d8a314556746bef (patch) | |
tree | a12933d19bce953efcb8b201c3f5d480b2001a01 /src/sqliteInt.h | |
parent | c210c08891e6be1ca140d1b9d4200b21ba9145aa (diff) | |
download | sqlite-6b86e51eea956e5b3532f4042d8a314556746bef.tar.gz sqlite-6b86e51eea956e5b3532f4042d8a314556746bef.zip |
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
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 294f7043f..17c93285b 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -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; /* |