Lines Matching refs:onError

582   int onError,          /* How to handle constraint errors */
688 int onError, /* How to handle constraint errors */ in sqlite3Insert() argument
784 onError, pUpsert, pTrigger); in sqlite3Insert()
821 && xferOptimization(pParse, pTab, pSelect, onError, iDb) in sqlite3Insert()
1270 pTab, regCols-pTab->nCol-1, onError, endOfLoop); in sqlite3Insert()
1336 sqlite3VdbeChangeP5(v, onError==OE_Default ? OE_Abort : onError); in sqlite3Insert()
1344 regIns, 0, ipkColumn>=0, onError, endOfLoop, &isReplace, 0, pUpsert in sqlite3Insert()
1381 pTab, regData-2-pTab->nCol, onError, endOfLoop); in sqlite3Insert()
1688 int onError; /* Conflict resolution strategy */ in sqlite3GenerateConstraintChecks() local
1741 onError = pCol->notNull; in sqlite3GenerateConstraintChecks()
1742 if( onError==OE_None ) continue; /* No NOT NULL on this column */ in sqlite3GenerateConstraintChecks()
1756 onError = overrideError; in sqlite3GenerateConstraintChecks()
1757 }else if( onError==OE_Default ){ in sqlite3GenerateConstraintChecks()
1758 onError = OE_Abort; in sqlite3GenerateConstraintChecks()
1760 if( onError==OE_Replace ){ in sqlite3GenerateConstraintChecks()
1767 onError = OE_Abort; in sqlite3GenerateConstraintChecks()
1774 assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail in sqlite3GenerateConstraintChecks()
1775 || onError==OE_Ignore || onError==OE_Replace ); in sqlite3GenerateConstraintChecks()
1778 switch( onError ){ in sqlite3GenerateConstraintChecks()
1797 onError, iReg); in sqlite3GenerateConstraintChecks()
1804 assert( onError==OE_Ignore ); in sqlite3GenerateConstraintChecks()
1837 onError = overrideError!=OE_Default ? overrideError : OE_Abort; in sqlite3GenerateConstraintChecks()
1854 sqlite3VdbeVerifyAbortable(v, onError); in sqlite3GenerateConstraintChecks()
1860 if( onError==OE_Ignore ){ in sqlite3GenerateConstraintChecks()
1865 if( onError==OE_Replace ) onError = OE_Abort; /* IMP: R-26383-51744 */ in sqlite3GenerateConstraintChecks()
1867 onError, zName, P4_TRANSIENT, in sqlite3GenerateConstraintChecks()
2015 onError = pTab->keyConf; in sqlite3GenerateConstraintChecks()
2017 onError = overrideError; in sqlite3GenerateConstraintChecks()
2018 }else if( onError==OE_Default ){ in sqlite3GenerateConstraintChecks()
2019 onError = OE_Abort; in sqlite3GenerateConstraintChecks()
2027 onError = OE_Ignore; /* DO NOTHING is the same as INSERT OR IGNORE */ in sqlite3GenerateConstraintChecks()
2029 onError = OE_Update; /* DO UPDATE */ in sqlite3GenerateConstraintChecks()
2045 if( onError==OE_Replace /* IPK rule is REPLACE */ in sqlite3GenerateConstraintChecks()
2046 && onError!=overrideError /* Rules for other constraints are different */ in sqlite3GenerateConstraintChecks()
2066 sqlite3VdbeVerifyAbortable(v, onError); in sqlite3GenerateConstraintChecks()
2070 switch( onError ){ in sqlite3GenerateConstraintChecks()
2072 onError = OE_Abort; in sqlite3GenerateConstraintChecks()
2078 testcase( onError==OE_Rollback ); in sqlite3GenerateConstraintChecks()
2079 testcase( onError==OE_Abort ); in sqlite3GenerateConstraintChecks()
2080 testcase( onError==OE_Fail ); in sqlite3GenerateConstraintChecks()
2081 sqlite3RowidConstraint(pParse, onError, pTab); in sqlite3GenerateConstraintChecks()
2138 testcase( onError==OE_Ignore ); in sqlite3GenerateConstraintChecks()
2236 onError = pIdx->onError; in sqlite3GenerateConstraintChecks()
2237 if( onError==OE_None ){ in sqlite3GenerateConstraintChecks()
2242 onError = overrideError; in sqlite3GenerateConstraintChecks()
2243 }else if( onError==OE_Default ){ in sqlite3GenerateConstraintChecks()
2244 onError = OE_Abort; in sqlite3GenerateConstraintChecks()
2250 onError = OE_Ignore; /* DO NOTHING is the same as INSERT OR IGNORE */ in sqlite3GenerateConstraintChecks()
2252 onError = OE_Update; /* DO UPDATE */ in sqlite3GenerateConstraintChecks()
2270 && onError==OE_Replace /* Condition 1 */ in sqlite3GenerateConstraintChecks()
2282 sqlite3VdbeVerifyAbortable(v, onError); in sqlite3GenerateConstraintChecks()
2289 if( isUpdate || onError==OE_Replace ){ 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()
2351 testcase( onError==OE_Rollback ); in sqlite3GenerateConstraintChecks()
2352 testcase( onError==OE_Abort ); in sqlite3GenerateConstraintChecks()
2353 testcase( onError==OE_Fail ); in sqlite3GenerateConstraintChecks()
2354 sqlite3UniqueConstraint(pParse, onError, pIdx); in sqlite3GenerateConstraintChecks()
2364 testcase( onError==OE_Ignore ); in sqlite3GenerateConstraintChecks()
2371 assert( onError==OE_Replace ); in sqlite3GenerateConstraintChecks()
2578 assert( pIdx->onError!=OE_Replace in sqlite3CompleteInsertion()
2580 || pIdx->pNext->onError==OE_Replace ); in sqlite3CompleteInsertion()
2726 if( pDest->onError!=pSrc->onError ){ in xferCompatibleIndex()
2784 int onError, /* How to handle constraint errors */ in xferOptimization() argument
2815 if( onError==OE_Default ){ in xferOptimization()
2816 if( pDest->iPKey>=0 ) onError = pDest->keyConf; in xferOptimization()
2817 if( onError==OE_Default ) onError = OE_Abort; in xferOptimization()
3016 || (onError!=OE_Abort && onError!=OE_Rollback) /* (3) */ in xferOptimization()
3046 sqlite3VdbeVerifyAbortable(v, onError); in xferOptimization()
3049 sqlite3RowidConstraint(pParse, onError, pDest); in xferOptimization()