Searched refs:onError (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | insert.c | 92 int onError /* How to handle constraint errors */ in sqliteInsert() argument 401 newIdx, -1, onError, endOfLoop) ){ in sqliteInsert() 474 0, onError, endOfLoop); in sqliteInsert() 496 onError, endOfLoop) ){ in sqliteInsert() 633 int onError; in sqliteGenerateConstraintChecks() local 654 onError = pTab->aCol[i].notNull; in sqliteGenerateConstraintChecks() 655 if( onError==OE_None ) continue; in sqliteGenerateConstraintChecks() 657 onError = overrideError; in sqliteGenerateConstraintChecks() 658 }else if( pParse->db->onError!=OE_Default ){ in sqliteGenerateConstraintChecks() 659 onError = pParse->db->onError; 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() 680 void sqliteAddPrimaryKey(Parse *pParse, IdList *pList, int onError){ in sqliteAddPrimaryKey() argument 709 pTab->keyConf = onError; in sqliteAddPrimaryKey() 711 sqliteCreateIndex(pParse, 0, 0, pList, onError, 0, 0); in sqliteAddPrimaryKey() 1477 int onError, /* OE_Abort, OE_Ignore, OE_Replace, or OE_None */ in sqliteCreateIndex() argument 1603 pIndex->onError = onError; in sqliteCreateIndex() 1644 if( onError!=OE_Replace || pTab->pIndex==0 in sqliteCreateIndex() 1645 || pTab->pIndex->onError==OE_Replace){ in sqliteCreateIndex() 1650 while( pOther->pNext && pOther->pNext->onError!=OE_Replace ){ in sqliteCreateIndex() [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()
|