Searched refs:pTrigger (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | trigger.c | 220 nt->pNext = pTab->pTrigger; in sqliteFinishTrigger() 221 pTab->pTrigger = nt; in sqliteFinishTrigger() 364 void sqliteDeleteTrigger(Trigger *pTrigger){ in sqliteDeleteTrigger() argument 365 if( pTrigger==0 ) return; in sqliteDeleteTrigger() 366 sqliteDeleteTriggerStep(pTrigger->step_list); in sqliteDeleteTrigger() 367 sqliteFree(pTrigger->name); in sqliteDeleteTrigger() 368 sqliteFree(pTrigger->table); in sqliteDeleteTrigger() 369 sqliteExprDelete(pTrigger->pWhen); in sqliteDeleteTrigger() 370 sqliteIdListDelete(pTrigger->pColumns); in sqliteDeleteTrigger() 371 if( pTrigger->nameToken.dyn ) sqliteFree((char*)pTrigger->nameToken.z); in sqliteDeleteTrigger() [all …]
|
H A D | build.c | 234 Trigger *pTrigger = sqliteHashData(pElem); in sqliteResetInternalSchema() local 235 sqliteDeleteTrigger(pTrigger); in sqliteResetInternalSchema() 1246 Trigger *pTrigger; in sqliteDropTable() local 1250 pTrigger = pTable->pTrigger; in sqliteDropTable() 1251 while( pTrigger ){ in sqliteDropTable() 1252 assert( pTrigger->iDb==pTable->iDb || pTrigger->iDb==1 ); in sqliteDropTable() 1253 sqliteDropTriggerPtr(pParse, pTrigger, 1); in sqliteDropTable() 1255 pTrigger = pTrigger->pNext; in sqliteDropTable() 1257 pTrigger = pTable->pTrigger; in sqliteDropTable()
|
H A D | delete.c | 93 before_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteDeleteFrom() 95 after_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteDeleteFrom()
|
H A D | update.c | 73 before_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteUpdate() 75 after_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteUpdate()
|
H A D | main.c | 150 pTrig = pTab->pTrigger; in upgrade_3_callback() 151 pTab->pTrigger = 0; /* Disable all triggers before rebuilding the table */ in upgrade_3_callback() 172 pTab->pTrigger = pTrig; /* Re-enable triggers */ in upgrade_3_callback()
|
H A D | sqliteInt.h | 509 Trigger *pTrigger; /* List of SQL triggers on this table */ member 1071 Trigger *pTrigger; /* The trigger currently being coded */ member
|
H A D | insert.c | 141 before_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, TK_INSERT, in sqliteInsert() 143 after_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, TK_INSERT, in sqliteInsert()
|