1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Change "PRAGMA disable_recursive_triggers" to "PRAGMA recursive_triggers". Also a fix for compiling with OMIT_TRIGGER defined.

FossilOrigin-Name: e016cca36390451d5d1c6e0d1b3cdbd6d869be1a
This commit is contained in:
dan
2009-09-01 17:11:07 +00:00
parent 3c94888d07
commit 5bde73c4eb
13 changed files with 34 additions and 29 deletions

View File

@@ -353,6 +353,10 @@
# define SQLITE_DEFAULT_FILE_FORMAT 1
#endif
#ifndef SQLITE_DEFAULT_RECURSIVE_TRIGGERS
# define SQLITE_DEFAULT_RECURSIVE_TRIGGERS 0
#endif
/*
** Provide a default value for SQLITE_TEMP_STORE in case it is not specified
** on the command-line
@@ -911,7 +915,7 @@ struct sqlite3 {
#define SQLITE_RecoveryMode 0x00040000 /* Ignore schema errors */
#define SQLITE_ReverseOrder 0x00100000 /* Reverse unordered SELECTs */
#define SQLITE_NoRecTriggers 0x00200000 /* Disable recursive triggers */
#define SQLITE_RecTriggers 0x00200000 /* Enable recursive triggers */
/*
** Possible values for the sqlite.magic field.
@@ -2704,6 +2708,7 @@ void sqlite3MaterializeView(Parse*, Table*, Expr*, int);
# define sqlite3CodeRowTrigger(A,B,C,D,E,F,G,H,I,J)
# define sqlite3TriggerList(X, Y) 0
# define sqlite3ParseToplevel(p) p
# define sqlite3TriggerOldmask(A,B,C,D,E,F) 0
#endif
int sqlite3JoinType(Parse*, Token*, Token*, Token*);