Searched refs:onError (Results 1 – 8 of 8) sorted by relevance
| /sqlite-3.40.0/src/ |
| H A D | insert.c | 1336 sqlite3VdbeChangeP5(v, onError==OE_Default ? OE_Abort : onError); in sqlite3Insert() 1774 assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail in sqlite3GenerateConstraintChecks() 1775 || onError==OE_Ignore || onError==OE_Replace ); in sqlite3GenerateConstraintChecks() 2070 switch( onError ){ in sqlite3GenerateConstraintChecks() 2236 onError = pIdx->onError; in sqlite3GenerateConstraintChecks() 2345 assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail in sqlite3GenerateConstraintChecks() 2346 || onError==OE_Ignore || onError==OE_Replace || onError==OE_Update ); in sqlite3GenerateConstraintChecks() 2347 switch( onError ){ in sqlite3GenerateConstraintChecks() 2726 if( pDest->onError!=pSrc->onError ){ in xferCompatibleIndex() 2817 if( onError==OE_Default ) onError = OE_Abort; in xferOptimization() [all …]
|
| H A D | update.c | 27 int onError /* ON CONFLICT strategy */ 289 int onError, /* How to handle constraint errors */ in sqlite3Update() argument 386 onError, pOrderBy, pLimit, pUpsert, pTrigger); in sqlite3Update() 571 if( onError==OE_Replace ) bReplace = 1; in sqlite3Update() 585 if( onError==OE_Default && pIdx->onError==OE_Replace ){ in sqlite3Update() 655 pWhere, onError); in sqlite3Update() 929 pParse, pTrigger, pChanges, 1, TRIGGER_BEFORE, pTab, onError in sqlite3Update() 975 TRIGGER_BEFORE, pTab, regOldRowid, onError, labelContinue); in sqlite3Update() 1108 TRIGGER_AFTER, pTab, regOldRowid, onError, labelContinue); in sqlite3Update() 1192 int onError /* ON CONFLICT strategy */ in updateVirtualTable() argument [all …]
|
| H A D | build.c | 1613 pCol->notNull = (u8)onError; in sqlite3AddNotNull() 1884 pTab->keyConf = (u8)onError; in sqlite3AddPrimaryKey() 4140 pIndex->onError = (u8)onError; in sqlite3CreateIndex() 4141 pIndex->uniqNotNull = onError!=OE_None; in sqlite3CreateIndex() 4317 if( pIdx->onError!=pIndex->onError ){ in sqlite3CreateIndex() 4325 if( !(pIdx->onError==OE_Default || pIndex->onError==OE_Default) ){ in sqlite3CreateIndex() 4330 pIdx->onError = pIndex->onError; in sqlite3CreateIndex() 4483 assert( pThis->onError!=OE_Replace in sqlite3CreateIndex() 5317 int onError, /* Constraint type */ in sqlite3HaltConstraint() argument 5326 if( onError==OE_Abort ){ in sqlite3HaltConstraint() [all …]
|
| H A D | treeview.c | 1069 int onError, in sqlite3TreeViewInsert() argument 1076 switch( onError ){ in sqlite3TreeViewInsert() 1138 int onError, in sqlite3TreeViewUpdate() argument 1147 switch( onError ){ in sqlite3TreeViewUpdate()
|
| H A D | trigger.c | 1116 static const char *onErrorText(int onError){ in onErrorText() argument 1117 switch( onError ){ in onErrorText()
|
| H A D | sqliteInt.h | 2623 u8 onError; /* OE_Abort, OE_Ignore, OE_Replace, or OE_None */ member 2659 #define IsUniqueIndex(X) ((X)->onError!=OE_None)
|
| H A D | vdbeaux.c | 1025 void sqlite3VdbeVerifyAbortable(Vdbe *p, int onError){ in sqlite3VdbeVerifyAbortable() argument 1026 if( onError==OE_Abort ) sqlite3VdbeAddOp0(p, OP_Abortable); in sqlite3VdbeVerifyAbortable()
|
| H A D | where.c | 2964 || (pProbe->nKeyCol==1 && pProbe->onError && eOp==WO_EQ) in whereLoopAddBtreeIndex() 3418 sPk.onError = OE_Replace; in whereLoopAddBtree()
|