aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2018-12-21 19:29:11 +0000
committerdan <dan@noemail.net>2018-12-21 19:29:11 +0000
commit1ea0443c2ddb712d15c5ca7b505da947482af280 (patch)
tree262becafeaba4db1aa20a555d8332ee07cbfa5b6 /src/sqliteInt.h
parentafdc9e23fcacb2df2f80915730e34b3935fd2156 (diff)
downloadsqlite-1ea0443c2ddb712d15c5ca7b505da947482af280.tar.gz
sqlite-1ea0443c2ddb712d15c5ca7b505da947482af280.zip
Add new sqlite3_prepare_v3() flag SQLITE_PREPARE_NO_VTAB, for preparing
statements that are not allowed to use any virtual tables. Use this to prevent circular references in triggers on virtual table shadow tables from causing resource leaks. FossilOrigin-Name: 25666e3d03950caf753295cdb55df162e07dbcf6840b05875c6e0b127c469ecb
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 7dd258482..ace68ea48 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3059,6 +3059,7 @@ struct Parse {
u8 hasCompound; /* Need to invoke convertCompoundSelectToSubquery() */
u8 okConstFactor; /* OK to factor out constants */
u8 disableLookaside; /* Number of times lookaside has been disabled */
+ u8 disableVtab; /* Disable all virtual tables for this parse */
int nRangeReg; /* Size of the temporary register block */
int iRangeReg; /* First register in temporary register block */
int nErr; /* Number of errors seen */