aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2013-10-03 12:29:38 +0000
committerdan <dan@noemail.net>2013-10-03 12:29:38 +0000
commit46539d7cfab6202ed6a6b5de7de5a6256c16f1ba (patch)
tree4adea647b4b003b296b8c2829ac17ec71506b3c2 /src/sqliteInt.h
parent582d47d27a2540564bbf0bd060de73d1dd413e35 (diff)
downloadsqlite-46539d7cfab6202ed6a6b5de7de5a6256c16f1ba.tar.gz
sqlite-46539d7cfab6202ed6a6b5de7de5a6256c16f1ba.zip
Return an error if an attempt is made to create a trigger with an SQL variable embedded within it. If such a variable reference is found within a trigger definition loaded from the sqlite_master table, silently replace it with a NULL.
FossilOrigin-Name: f35f6ae3da77dbdf5f7a4a9927475659fc6e0ca6
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 4a52b64f6..d57e81e94 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2414,6 +2414,7 @@ typedef struct DbFixer DbFixer;
struct DbFixer {
Parse *pParse; /* The parsing context. Error messages written here */
Schema *pSchema; /* Fix items to this schema */
+ int bVarOnly; /* Check for variable references only */
const char *zDb; /* Make sure all objects are contained in this database */
const char *zType; /* Type of the container - used for error messages */
const Token *pName; /* Name of the container - used for error messages */