Searched refs:onError (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | insert.c | 633 int onError; in sqliteGenerateConstraintChecks() local 659 onError = pParse->db->onError; in sqliteGenerateConstraintChecks() 661 onError = OE_Abort; in sqliteGenerateConstraintChecks() 668 switch( onError ){ in sqliteGenerateConstraintChecks() 707 onError = pParse->db->onError; in sqliteGenerateConstraintChecks() 719 switch( onError ){ in sqliteGenerateConstraintChecks() 779 onError = pIdx->onError; in sqliteGenerateConstraintChecks() 784 onError = pParse->db->onError; in sqliteGenerateConstraintChecks() 789 if( onError==OE_Ignore ) onError = OE_Replace; in sqliteGenerateConstraintChecks() 790 else if( onError==OE_Fail ) onError = OE_Abort; in sqliteGenerateConstraintChecks() [all …]
|
H A D | update.c | 31 int onError /* How to handle constraint errors */ in sqliteUpdate() argument 305 newIdx, oldIdx, onError, loopStart) ){ in sqliteUpdate() 319 if( onError==OE_Replace ){ in sqliteUpdate() 324 if( pIdx->onError==OE_Replace ){ in sqliteUpdate() 378 onError, loopStart); in sqliteUpdate() 414 newIdx, oldIdx, onError, loopStart) ){ in sqliteUpdate()
|
H A D | build.c | 591 void sqliteAddNotNull(Parse *pParse, int onError){ in sqliteAddNotNull() argument 596 if( i>=0 ) p->aCol[i].notNull = onError; in sqliteAddNotNull() 709 pTab->keyConf = onError; in sqliteAddPrimaryKey() 711 sqliteCreateIndex(pParse, 0, 0, pList, onError, 0, 0); in sqliteAddPrimaryKey() 1603 pIndex->onError = onError; in sqliteCreateIndex() 1644 if( onError!=OE_Replace || pTab->pIndex==0 in sqliteCreateIndex() 1645 || pTab->pIndex->onError==OE_Replace){ in sqliteCreateIndex() 2019 void sqliteBeginTransaction(Parse *pParse, int onError){ in sqliteBeginTransaction() argument 2032 db->onError = onError; in sqliteBeginTransaction() 2054 db->onError = OE_Default; in sqliteCommitTransaction() [all …]
|
H A D | copy.c | 34 int onError /* What to do if a constraint fails */ in sqliteCopy() argument 90 0, onError, addr); in sqliteCopy()
|
H A D | sqliteInt.h | 353 u8 onError; /* Default conflict algorithm */ member 625 u8 onError; /* OE_Abort, OE_Ignore, OE_Replace, or OE_None */ member
|
H A D | vdbeaux.c | 869 db->onError = OE_Default; in sqliteVdbeReset() 876 db->onError = OE_Default; in sqliteVdbeReset()
|
H A D | pragma.c | 439 sqliteVdbeAddOp(v, OP_Integer, pIdx->onError!=OE_None, 0); in sqlitePragma()
|
H A D | main.c | 483 db->onError = OE_Default; in sqlite_open()
|