diff options
author | dan <dan@noemail.net> | 2013-10-03 12:29:38 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2013-10-03 12:29:38 +0000 |
commit | 46539d7cfab6202ed6a6b5de7de5a6256c16f1ba (patch) | |
tree | 4adea647b4b003b296b8c2829ac17ec71506b3c2 /src/sqliteInt.h | |
parent | 582d47d27a2540564bbf0bd060de73d1dd413e35 (diff) | |
download | sqlite-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.h | 1 |
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 */ |