Lines Matching defs:deferred
1419 ** means all subsequent write operations will be deferred and done
6841 ** to modify the database connection must be deferred until after the
6969 ** to modify the database connection must be deferred until after the
8863 ** all foreign key constraints (deferred or immediate) have been
17127 i64 nDeferredCons; /* Net deferred constraints this transaction. */
17128 i64 nDeferredImmCons; /* Net deferred immediate constraints */
17521 i64 nDeferredCons; /* Number of deferred fk violations */
17522 i64 nDeferredImmCons; /* Number of deferred imm fk. */
17908 u8 isDeferred; /* True if constraint checking is deferred till COMMIT */
22530 i64 movetoTarget; /* Argument to the deferred sqlite3BtreeMoveto() */
23484 /* Set *pCurrent to non-zero if there are unresolved deferred foreign
37908 ** to close() the file descriptor is deferred until all of the locks clear.
38873 ** was deferred because of outstanding locks.
43735 ** this reason, the division that implements of proxy locking is deferred
85629 ** database handles deferred constraint counter to the value it had when
85648 ** committed. If there are outstanding deferred foreign key constraint
85656 SQLITE_PRIVATE int sqlite3VdbeCheckFk(Vdbe *p, int deferred){
85658 if( (deferred && (db->nDeferredCons+db->nDeferredImmCons)>0)
85659 || (!deferred && p->nFkConstraint>0)
85787 ** or hit an 'OR FAIL' constraint and there are no deferred foreign
94131 ** too. If it is a ROLLBACK TO, then set the number of deferred
94313 /* Store the current value of the database handles deferred constraint
96774 ** table. This opcode does a deferred seek of the P3 table cursor
96777 ** This is a deferred seek. Nothing actually happens until
96784 ** equivalent to performing the deferred seek and then reading column i
97628 ** (deferred foreign key constraints). Otherwise, if P1 is zero, the
97650 ** is zero (the one that counts deferred constraint violations). If P1 is
107088 ** deferred untilthe pParse is deleted.
107092 ** The deferred delete is (currently) implemented by adding the
118094 ** TEMP schema. The reset is deferred if db->nSchemaLock is not zero.
127147 ** Foreign keys in SQLite come in two flavours: deferred and immediate.
127151 ** deferred foreign key constraint is violated, no action is taken
127164 ** * When a commit fails due to a deferred foreign key constraint,
127437 ** INSERT deferred Increment the "deferred constraint counter".
127439 ** DELETE deferred Decrement the "deferred constraint counter".
127646 ** deferred, when a row is inserted into the same table. When generating
127664 ** DELETE deferred Increment the "deferred constraint counter".
127666 ** INSERT deferred Decrement the "deferred constraint counter".
127679 int nIncr /* Amount to increment deferred counter by */
127769 ** clause. For each row found, increment either the deferred or immediate
127851 ** (b) The table is the child table of a deferred FK constraint and it is
127852 ** determined at runtime that there are outstanding deferred FK
127868 /* Search for a deferred foreign key constraint for which this table
127871 ** the entire DELETE if there are no outstanding deferred constraints
128180 /* If this is a deferred FK constraint, or a CASCADE or SET NULL
128585 ** classified as either immediate or deferred.
130650 && !upsertIpkDelay /* IPK check already deferred by UPSERT */
139316 RowLoadInfo sRowLoadInfo; /* Info for deferred row loading */
150116 ** the disconnect is deferred until all locks have been removed.
153051 ** function generates code to do a deferred seek of cursor iCur to the
154571 /* WHERE clause constraints must be deferred until after outer join
174890 /* Any deferred constraint violations have now been resolved. */
179744 u8 bDeferred; /* True if this expression is entirely deferred */
183906 ** does not take deferred tokens into account.
183939 ** any deferred tokens have been loaded into memory. It updates the phrases
183941 ** instances of the phrase (after considering deferred tokens). If this
183949 char *aPoslist = 0; /* Position list for deferred tokens */
183951 int iPrev = -1; /* Token number of previous deferred token */
184317 ** * does not contain any deferred tokens.
184458 ** expressions for which all descendent tokens are deferred.
184462 ** each phrase in the expression (subject to deferred token processing).
184625 ** deferred. The array aTC[] has already been populated when this is
184653 /* Tokens are never deferred for FTS tables created using the content=xxx
184656 ** causing any problems, the deferred token optimization is completely
184693 ** one or more tokens will not be deferred.
184717 ** that will be loaded if all subsequent tokens are deferred.
184779 /* Determine which, if any, tokens in the expression should be deferred. */
184909 ** entirely of deferred tokens, it is assumed to match every row in
184912 ** Or, if a phrase contains one or more deferred tokens and one or
184913 ** more non-deferred tokens, then the expression is advanced to the
184914 ** next possible match, considering only non-deferred tokens. In other
184915 ** words, if the phrase is "A B C", and "B" is deferred, the expression
184924 ** really a match, taking into account deferred tokens and NEAR operators.
184944 /* LHS is entirely deferred. So we assume it matches every row.
184950 /* RHS is entirely deferred. So we assume it matches every row.
184956 /* Neither the RHS or LHS are deferred. */
185253 ** operators and deferred tokens the current row is still a match for the
185258 ** 2. After scanning the current FTS table row for the deferred tokens,
185269 /* If there are one or more deferred tokens, load the current row into
185270 ** memory and scan it to determine the position list for each deferred
185271 ** token. Then, see if this row is really a match, considering deferred
185283 /* Free the position-lists accumulated for each deferred token above. */
185520 ** * If a phrase consists entirely of deferred tokens, then all output
185525 ** * If a phrase contains some deferred tokens (and some non-deferred
185527 ** the non-deferred tokens instead of actual phrase occurrences.
185577 ** This function works regardless of whether or not the phrase is deferred,
190003 Fts3DeferredToken *pNext; /* Next in list of deferred tokens */
195346 ** Delete all cached deferred doclists. Deferred doclists are cached
195373 ** Generate deferred-doclists for all tokens in the pCsr->pDeferred list
195376 ** A deferred-doclist is like any other doclist with position information
195385 Fts3DeferredToken *pDef; /* Used to iterate through deferred tokens */
196644 ** If the phrase pExpr consists entirely of deferred tokens, then all X and
196648 ** not available for deferred tokens.