Lines Matching defs:action
2962 ** called in response to a user action such as pressing "Cancel"
3386 ** return [SQLITE_OK] to allow the action, [SQLITE_IGNORE] to disallow the
3387 ** specific action but allow the SQL statement to continue to be
3402 ** to the callback is an integer [SQLITE_COPY | action code] that specifies
3403 ** the particular action to be authorized. ^The third through sixth parameters
3405 ** that contain additional details about the action to be authorized.
3409 ** ^If the action code is [SQLITE_READ]
3420 ** ^If the action code is [SQLITE_DELETE] and the callback returns
3472 ** to signal SQLite whether or not the action is permitted. See the
3488 ** what action is being authorized. These are the integer action codes that
3491 ** These action code values signify what kind of operation is to be
9117 ** parameter to help it determined what action to take:
9499 ** action (a reasonable assumption), then using this API may cause the
11114 ** <li> The change is made by an SQL trigger or foreign key action
12287 ** If a conflict handler returns this value no special action is taken. The
13699 ** assert() statements in the code. So we want the default action
17946 ** of conflict resolution action to take.
17959 #define OE_Default 11 /* Do whatever the default action is */
19092 ** the parser and down into all the parser action routine in order to
22868 u8 errorAction; /* Recovery action to do in case of an error */
59761 ** * If the journal file is an in-memory journal file, no action need
89910 ** or SET DEFAULT action is considered a trigger.
97482 ** is really a trigger, not a foreign key action, and the flag set
117403 ** contain additional details about the action to be authorized.
118670 ** the first of several action routines that get called in response
118679 ** As more of the CREATE TABLE statement is parsed, additional action
120072 ** The table structure that other action routines have been building
121146 pFKey->aAction[0] = (u8)(flags & 0xff); /* ON DELETE action */
121147 pFKey->aAction[1] = (u8)((flags >> 8 ) & 0xff); /* ON UPDATE action */
124152 ** IMPLEMENTATION-OF: R-17228-37124 If the action code is SQLITE_DELETE and
127151 ** deferred foreign key constraint is violated, no action is taken
127428 ** special action is taken. Otherwise, if the parent row can *not* be
127975 ** used to code a trigger that is really a "SET NULL" action belonging
128128 ** that is actually a "SET NULL" action belonging to this very
128181 ** action applies, then any foreign key violations caused by
128182 ** removing the parent key will be rectified by the action trigger.
128188 ** within the action trigger).
128192 ** applies. The trouble starts if the CASCADE or SET NULL action
128193 ** trigger causes other triggers or action rules attached to the
128259 ** * the UPDATE modifies one or more parent keys for which the action is
128311 ** equivalent to the ON UPDATE or ON DELETE action specified by pFKey.
128312 ** If the action is "NO ACTION" then a NULL pointer is returned (these actions
128335 FKey *pFKey, /* Foreign key to get action for */
128339 int action; /* One of OE_None, OE_Cascade etc. */
128343 action = pFKey->aAction[iAction];
128344 if( action==OE_Restrict && (db->flags & SQLITE_DeferFKs) ){
128349 if( action!=OE_None && !pTrigger ){
128409 if( action!=OE_Restrict && (action!=OE_Cascade || pChanges) ){
128411 if( action==OE_Cascade ){
128415 }else if( action==OE_SetDflt ){
128442 if( action==OE_Restrict ){
128502 switch( action ){
128538 ** refer to table pTab. If there is an action associated with the FK
130230 ** then the appropriate action is performed. There are five possible
130256 ** is NULL, the action is the same as ABORT.
130263 ** Which action to take is determined by the overrideError parameter.
130616 /* Figure out what action to take in case of a rowid collision */
130837 /* Find out what action to take in case there is a uniqueness conflict */
134476 ** Return a human-readable name for a constraint resolution action.
134479 static const char *actionName(u8 action){
134481 switch( action ){
134487 assert( action==OE_None ); break;
139085 ** No special action is required. The return value is zero.
145051 /* No futher action if this term of the FROM clause is no a subquery */
147687 ** not a foreign key action, and (b) the flag to enable recursive triggers
154180 ** eliminating duplicates from other WHERE clauses, the action for each
166662 ** YYACTIONTYPE is the data type used for "action codes" - numbers
166773 /* Next are the tables used to determine what action to take based on the
166776 ** action integer.
166778 ** Suppose the action integer is N. Then the action is determined as
166791 ** N == YY_NO_ACTION No such action. Denotes unused
166797 ** The action table is constructed as a single large table named yy_action[].
166798 ** Given state S and lookahead X, the action is computed as either:
166806 ** The formulas above are for computing the action when the lookahead is
166808 ** a reduce action) then the yy_reduce_ofst[] array is used in place of
166820 ** yy_default[] Default action for each state.
167651 ** the information used by the action routines in the grammar.
167654 ** After the "shift" half of a SHIFTREDUCE action, the stateno field
167655 ** actually contains the reduce action for the second half of the
167659 YYACTIONTYPE stateno; /* The state-number, or reduce action in SHIFTREDUCE */
168677 default: break; /* If no destructor action specified: do nothing */
168782 ** Find the appropriate action for a parser given the terminal
168847 ** Find the appropriate action for a parser given the non-terminal
168899 ** Print tracing information for a SHIFT action
168920 ** Perform a shift action.
169784 ** Perform a reduce action and the shift that must immediately
169801 YYACTIONTYPE yyact; /* The next action */
171437 ** use by the action routines.
171457 YYACTIONTYPE yyact; /* The parser action. */
171500 yyruleno<YYNRULE_WITH_ACTION ? "" : " without external action",
171505 yyruleno<YYNRULE_WITH_ACTION ? "" : " without external action");
177587 ** This action provides a run-time test to see whether or not
177628 ** This action provides a run-time test to see how the ALWAYS and
197579 ** If so, no action is taken. Otherwise, the codepoint is added to the
222893 ** fts5YYACTIONTYPE is the data type used for "action codes" - numbers
222989 /* Next are the tables used to determine what action to take based on the
222992 ** action integer.
222994 ** Suppose the action integer is N. Then the action is determined as
223007 ** N == fts5YY_NO_ACTION No such action. Denotes unused
223013 ** The action table is constructed as a single large table named fts5yy_action[].
223014 ** Given state S and lookahead X, the action is computed as either:
223022 ** The formulas above are for computing the action when the lookahead is
223024 ** a reduce action) then the fts5yy_reduce_ofst[] array is used in place of
223036 ** fts5yy_default[] Default action for each state.
223120 ** the information used by the action routines in the grammar.
223123 ** After the "shift" half of a SHIFTREDUCE action, the stateno field
223124 ** actually contains the reduce action for the second half of the
223128 fts5YYACTIONTYPE stateno; /* The state-number, or reduce action in SHIFTREDUCE */
223413 default: break; /* If no destructor action specified: do nothing */
223518 ** Find the appropriate action for a parser given the terminal
223583 ** Find the appropriate action for a parser given the non-terminal
223635 ** Print tracing information for a SHIFT action
223656 ** Perform a shift action.
223766 ** Perform a reduce action and the shift that must immediately
223783 fts5YYACTIONTYPE fts5yyact; /* The next action */
224043 ** use by the action routines.
224063 fts5YYACTIONTYPE fts5yyact; /* The parser action. */
224106 fts5yyruleno<fts5YYNRULE_WITH_ACTION ? "" : " without external action",
224111 fts5yyruleno<fts5YYNRULE_WITH_ACTION ? "" : " without external action");