diff options
author | danielk1977 <danielk1977@noemail.net> | 2002-06-11 02:25:40 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2002-06-11 02:25:40 +0000 |
commit | 6f34903e85f22edca3b3ac7649182fafea0643cb (patch) | |
tree | c92d0d3b3ea651835a4dba4bc64099308b6e9e88 /src/sqliteInt.h | |
parent | 28f4b6885b32acda86b6d014430b246ad20c4336 (diff) | |
download | sqlite-6f34903e85f22edca3b3ac7649182fafea0643cb.tar.gz sqlite-6f34903e85f22edca3b3ac7649182fafea0643cb.zip |
Add RAISE() function, which allows more advanced flow-control in trigger programs (ticket #55) (CVS 614)
FossilOrigin-Name: d4a2fb10067203a0d49317db747759872e62927e
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 4e2352375..85886448c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.122 2002/06/09 10:14:19 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.123 2002/06/11 02:25:42 danielk1977 Exp $ */ #include "sqlite.h" #include "hash.h" @@ -764,6 +764,7 @@ struct TriggerStack { int newIdx; /* Index of vdbe cursor to "new" temp table */ int oldIdx; /* Index of vdbe cursor to "old" temp table */ int orconf; /* Current orconf policy */ + int ignoreJump; /* where to jump to for a RAISE(IGNORE) */ Trigger *pTrigger; TriggerStack *pNext; @@ -895,7 +896,8 @@ void sqliteCreateTrigger(Parse*, Token*, int, int, IdList*, Token*, int, Expr*, TriggerStep*, char const*,int); void sqliteDropTrigger(Parse*, Token*, int); int sqliteTriggersExist(Parse* , Trigger* , int , int , int, ExprList*); -int sqliteCodeRowTrigger(Parse*, int, ExprList*, int, Table *, int, int, int); +int sqliteCodeRowTrigger(Parse*, int, ExprList*, int, Table *, int, int, + int, int); void sqliteViewTriggers(Parse*, Table*, Expr*, int, ExprList*); TriggerStep *sqliteTriggerSelectStep(Select*); TriggerStep *sqliteTriggerInsertStep(Token*, IdList*, ExprList*, Select*, int); |