aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-01-05 21:09:37 +0000
committerdrh <drh@noemail.net>2019-01-05 21:09:37 +0000
commit6b86e51eea956e5b3532f4042d8a314556746bef (patch)
treea12933d19bce953efcb8b201c3f5d480b2001a01 /src/sqliteInt.h
parentc210c08891e6be1ca140d1b9d4200b21ba9145aa (diff)
downloadsqlite-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.h1
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;
/*