Home
last modified time | relevance | path

Searched refs:pTrigger (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtrigger.c220 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 Dbuild.c234 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 Ddelete.c93 before_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteDeleteFrom()
95 after_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteDeleteFrom()
H A Dupdate.c73 before_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteUpdate()
75 after_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, in sqliteUpdate()
H A Dmain.c150 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 DsqliteInt.h509 Trigger *pTrigger; /* List of SQL triggers on this table */ member
1071 Trigger *pTrigger; /* The trigger currently being coded */ member
H A Dinsert.c141 before_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, TK_INSERT, in sqliteInsert()
143 after_triggers = sqliteTriggersExist(pParse, pTab->pTrigger, TK_INSERT, in sqliteInsert()