pTrigger         9906 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;   /* List of triggers stored in pSchema */
pTrigger         10749 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;      /* Trigger this program was coded from */
pTrigger         79415 ext/sqlite3/libsqlite/sqlite3.c     Trigger *pTrigger;
pTrigger         79430 ext/sqlite3/libsqlite/sqlite3.c     pTrigger = sqlite3TriggerList(pParse, pTab);
pTrigger         79431 ext/sqlite3/libsqlite/sqlite3.c     while( pTrigger ){
pTrigger         79432 ext/sqlite3/libsqlite/sqlite3.c       assert( pTrigger->pSchema==pTab->pSchema || 
pTrigger         79433 ext/sqlite3/libsqlite/sqlite3.c           pTrigger->pSchema==db->aDb[1].pSchema );
pTrigger         79434 ext/sqlite3/libsqlite/sqlite3.c       sqlite3DropTriggerPtr(pParse, pTrigger);
pTrigger         79435 ext/sqlite3/libsqlite/sqlite3.c       pTrigger = pTrigger->pNext;
pTrigger         81800 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;           /* List of table triggers, if required */
pTrigger         81822 ext/sqlite3/libsqlite/sqlite3.c   pTrigger = sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0);
pTrigger         81839 ext/sqlite3/libsqlite/sqlite3.c   if( sqlite3IsReadOnly(pParse, pTab, (pTrigger?1:0)) ){
pTrigger         81850 ext/sqlite3/libsqlite/sqlite3.c   assert(!isView || pTrigger);
pTrigger         81906 ext/sqlite3/libsqlite/sqlite3.c   if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab) 
pTrigger         81965 ext/sqlite3/libsqlite/sqlite3.c       sqlite3GenerateRowDelete(pParse, pTab, iCur, iRowid, count, pTrigger, OE_Default);
pTrigger         82011 ext/sqlite3/libsqlite/sqlite3.c #ifdef pTrigger
pTrigger         82058 ext/sqlite3/libsqlite/sqlite3.c   if( sqlite3FkRequired(pParse, pTab, 0, 0) || pTrigger ){
pTrigger         82065 ext/sqlite3/libsqlite/sqlite3.c         pParse, pTrigger, 0, 0, TRIGGER_BEFORE|TRIGGER_AFTER, pTab, onconf
pTrigger         82081 ext/sqlite3/libsqlite/sqlite3.c     sqlite3CodeRowTrigger(pParse, pTrigger, 
pTrigger         82114 ext/sqlite3/libsqlite/sqlite3.c   sqlite3CodeRowTrigger(pParse, pTrigger, 
pTrigger         84773 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;              /* Trigger definition to return */
pTrigger         84777 ext/sqlite3/libsqlite/sqlite3.c   pTrigger = pFKey->apTrigger[iAction];
pTrigger         84779 ext/sqlite3/libsqlite/sqlite3.c   if( action!=OE_None && !pTrigger ){
pTrigger         84892 ext/sqlite3/libsqlite/sqlite3.c     pTrigger = (Trigger *)sqlite3DbMallocZero(db, 
pTrigger         84897 ext/sqlite3/libsqlite/sqlite3.c     if( pTrigger ){
pTrigger         84898 ext/sqlite3/libsqlite/sqlite3.c       pStep = pTrigger->step_list = (TriggerStep *)&pTrigger[1];
pTrigger         84908 ext/sqlite3/libsqlite/sqlite3.c         pTrigger->pWhen = sqlite3ExprDup(db, pWhen, EXPRDUP_REDUCE);
pTrigger         84920 ext/sqlite3/libsqlite/sqlite3.c       fkTriggerDelete(db, pTrigger);
pTrigger         84936 ext/sqlite3/libsqlite/sqlite3.c     pStep->pTrig = pTrigger;
pTrigger         84937 ext/sqlite3/libsqlite/sqlite3.c     pTrigger->pSchema = pTab->pSchema;
pTrigger         84938 ext/sqlite3/libsqlite/sqlite3.c     pTrigger->pTabSchema = pTab->pSchema;
pTrigger         84939 ext/sqlite3/libsqlite/sqlite3.c     pFKey->apTrigger[iAction] = pTrigger;
pTrigger         84940 ext/sqlite3/libsqlite/sqlite3.c     pTrigger->op = (pChanges ? TK_UPDATE : TK_DELETE);
pTrigger         84943 ext/sqlite3/libsqlite/sqlite3.c   return pTrigger;
pTrigger         85491 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;          /* List of triggers on pTab, if required */
pTrigger         85522 ext/sqlite3/libsqlite/sqlite3.c   pTrigger = sqlite3TriggersExist(pParse, pTab, TK_INSERT, 0, &tmask);
pTrigger         85533 ext/sqlite3/libsqlite/sqlite3.c   assert( (pTrigger && tmask) || (pTrigger==0 && tmask==0) );
pTrigger         85556 ext/sqlite3/libsqlite/sqlite3.c   sqlite3BeginWriteOperation(pParse, pSelect || pTrigger, iDb);
pTrigger         85569 ext/sqlite3/libsqlite/sqlite3.c     assert( !pTrigger );
pTrigger         85645 ext/sqlite3/libsqlite/sqlite3.c     if( pTrigger || readsTable(pParse, addrSelect, iDb, pTab) ){
pTrigger         85886 ext/sqlite3/libsqlite/sqlite3.c     sqlite3CodeRowTrigger(pParse, pTrigger, TK_INSERT, 0, TRIGGER_BEFORE, 
pTrigger         86010 ext/sqlite3/libsqlite/sqlite3.c   if( pTrigger ){
pTrigger         86012 ext/sqlite3/libsqlite/sqlite3.c     sqlite3CodeRowTrigger(pParse, pTrigger, TK_INSERT, 0, TRIGGER_AFTER, 
pTrigger         86071 ext/sqlite3/libsqlite/sqlite3.c #ifdef pTrigger
pTrigger         86298 ext/sqlite3/libsqlite/sqlite3.c         Trigger *pTrigger = 0;
pTrigger         86300 ext/sqlite3/libsqlite/sqlite3.c           pTrigger = sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0);
pTrigger         86302 ext/sqlite3/libsqlite/sqlite3.c         if( pTrigger || sqlite3FkRequired(pParse, pTab, 0, 0) ){
pTrigger         86305 ext/sqlite3/libsqlite/sqlite3.c               pParse, pTab, baseCur, regRowid, 0, pTrigger, OE_Replace
pTrigger         86409 ext/sqlite3/libsqlite/sqlite3.c         Trigger *pTrigger = 0;
pTrigger         86413 ext/sqlite3/libsqlite/sqlite3.c           pTrigger = sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0);
pTrigger         86416 ext/sqlite3/libsqlite/sqlite3.c             pParse, pTab, baseCur, regR, 0, pTrigger, OE_Replace
pTrigger         95199 ext/sqlite3/libsqlite/sqlite3.c         pTrig->pNext = (pList ? pList : pTab->pTrigger);
pTrigger         95205 ext/sqlite3/libsqlite/sqlite3.c   return (pList ? pList : pTab->pTrigger);
pTrigger         95228 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger = 0;  /* The new trigger */
pTrigger         95364 ext/sqlite3/libsqlite/sqlite3.c   pTrigger = (Trigger*)sqlite3DbMallocZero(db, sizeof(Trigger));
pTrigger         95365 ext/sqlite3/libsqlite/sqlite3.c   if( pTrigger==0 ) goto trigger_cleanup;
pTrigger         95366 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->zName = zName;
pTrigger         95368 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->table = sqlite3DbStrDup(db, pTableName->a[0].zName);
pTrigger         95369 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->pSchema = db->aDb[iDb].pSchema;
pTrigger         95370 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->pTabSchema = pTab->pSchema;
pTrigger         95371 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->op = (u8)op;
pTrigger         95372 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->tr_tm = tr_tm==TK_BEFORE ? TRIGGER_BEFORE : TRIGGER_AFTER;
pTrigger         95373 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->pWhen = sqlite3ExprDup(db, pWhen, EXPRDUP_REDUCE);
pTrigger         95374 ext/sqlite3/libsqlite/sqlite3.c   pTrigger->pColumns = sqlite3IdListDup(db, pColumns);
pTrigger         95376 ext/sqlite3/libsqlite/sqlite3.c   pParse->pNewTrigger = pTrigger;
pTrigger         95384 ext/sqlite3/libsqlite/sqlite3.c     sqlite3DeleteTrigger(db, pTrigger);
pTrigger         95386 ext/sqlite3/libsqlite/sqlite3.c     assert( pParse->pNewTrigger==pTrigger );
pTrigger         95456 ext/sqlite3/libsqlite/sqlite3.c       pLink->pNext = pTab->pTrigger;
pTrigger         95457 ext/sqlite3/libsqlite/sqlite3.c       pTab->pTrigger = pLink;
pTrigger         95595 ext/sqlite3/libsqlite/sqlite3.c   if( pTrigger==0 ) return;
pTrigger         95596 ext/sqlite3/libsqlite/sqlite3.c   sqlite3DeleteTriggerStep(db, pTrigger->step_list);
pTrigger         95597 ext/sqlite3/libsqlite/sqlite3.c   sqlite3DbFree(db, pTrigger->zName);
pTrigger         95598 ext/sqlite3/libsqlite/sqlite3.c   sqlite3DbFree(db, pTrigger->table);
pTrigger         95599 ext/sqlite3/libsqlite/sqlite3.c   sqlite3ExprDelete(db, pTrigger->pWhen);
pTrigger         95600 ext/sqlite3/libsqlite/sqlite3.c   sqlite3IdListDelete(db, pTrigger->pColumns);
pTrigger         95601 ext/sqlite3/libsqlite/sqlite3.c   sqlite3DbFree(db, pTrigger);
pTrigger         95613 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger = 0;
pTrigger         95634 ext/sqlite3/libsqlite/sqlite3.c     pTrigger = sqlite3HashFind(&(db->aDb[j].pSchema->trigHash), zName, nName);
pTrigger         95635 ext/sqlite3/libsqlite/sqlite3.c     if( pTrigger ) break;
pTrigger         95637 ext/sqlite3/libsqlite/sqlite3.c   if( !pTrigger ){
pTrigger         95646 ext/sqlite3/libsqlite/sqlite3.c   sqlite3DropTriggerPtr(pParse, pTrigger);
pTrigger         95657 ext/sqlite3/libsqlite/sqlite3.c   int n = sqlite3Strlen30(pTrigger->table);
pTrigger         95658 ext/sqlite3/libsqlite/sqlite3.c   return sqlite3HashFind(&pTrigger->pTabSchema->tblHash, pTrigger->table, n);
pTrigger         95671 ext/sqlite3/libsqlite/sqlite3.c   iDb = sqlite3SchemaToIndex(pParse->db, pTrigger->pSchema);
pTrigger         95673 ext/sqlite3/libsqlite/sqlite3.c   pTable = tableOfTrigger(pTrigger);
pTrigger         95675 ext/sqlite3/libsqlite/sqlite3.c   assert( pTable->pSchema==pTrigger->pSchema || iDb==1 );
pTrigger         95682 ext/sqlite3/libsqlite/sqlite3.c     if( sqlite3AuthCheck(pParse, code, pTrigger->zName, pTable->zName, zDb) ||
pTrigger         95709 ext/sqlite3/libsqlite/sqlite3.c     sqlite3VdbeChangeP4(v, base+1, pTrigger->zName, P4_TRANSIENT);
pTrigger         95713 ext/sqlite3/libsqlite/sqlite3.c     sqlite3VdbeAddOp4(v, OP_DropTrigger, iDb, 0, 0, pTrigger->zName, 0);
pTrigger         95724 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;
pTrigger         95729 ext/sqlite3/libsqlite/sqlite3.c   pTrigger = sqlite3HashInsert(pHash, zName, sqlite3Strlen30(zName), 0);
pTrigger         95730 ext/sqlite3/libsqlite/sqlite3.c   if( ALWAYS(pTrigger) ){
pTrigger         95731 ext/sqlite3/libsqlite/sqlite3.c     if( pTrigger->pSchema==pTrigger->pTabSchema ){
pTrigger         95732 ext/sqlite3/libsqlite/sqlite3.c       Table *pTab = tableOfTrigger(pTrigger);
pTrigger         95734 ext/sqlite3/libsqlite/sqlite3.c       for(pp=&pTab->pTrigger; *pp!=pTrigger; pp=&((*pp)->pNext));
pTrigger         95737 ext/sqlite3/libsqlite/sqlite3.c     sqlite3DeleteTrigger(db, pTrigger);
pTrigger         95953 ext/sqlite3/libsqlite/sqlite3.c   assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) );
pTrigger         95966 ext/sqlite3/libsqlite/sqlite3.c   pPrg->pTrigger = pTrigger;
pTrigger         95980 ext/sqlite3/libsqlite/sqlite3.c   pSubParse->zAuthContext = pTrigger->zName;
pTrigger         95981 ext/sqlite3/libsqlite/sqlite3.c   pSubParse->eTriggerOp = pTrigger->op;
pTrigger         95987 ext/sqlite3/libsqlite/sqlite3.c       pTrigger->zName, onErrorText(orconf),
pTrigger         95988 ext/sqlite3/libsqlite/sqlite3.c       (pTrigger->tr_tm==TRIGGER_BEFORE ? "BEFORE" : "AFTER"),
pTrigger         95989 ext/sqlite3/libsqlite/sqlite3.c         (pTrigger->op==TK_UPDATE ? "UPDATE" : ""),
pTrigger         95990 ext/sqlite3/libsqlite/sqlite3.c         (pTrigger->op==TK_INSERT ? "INSERT" : ""),
pTrigger         95991 ext/sqlite3/libsqlite/sqlite3.c         (pTrigger->op==TK_DELETE ? "DELETE" : ""),
pTrigger         95996 ext/sqlite3/libsqlite/sqlite3.c       sqlite3MPrintf(db, "-- TRIGGER %s", pTrigger->zName), P4_DYNAMIC
pTrigger         96003 ext/sqlite3/libsqlite/sqlite3.c     if( pTrigger->pWhen ){
pTrigger         96004 ext/sqlite3/libsqlite/sqlite3.c       pWhen = sqlite3ExprDup(db, pTrigger->pWhen, 0);
pTrigger         96015 ext/sqlite3/libsqlite/sqlite3.c     codeTriggerProgram(pSubParse, pTrigger->step_list, orconf);
pTrigger         96022 ext/sqlite3/libsqlite/sqlite3.c     VdbeComment((v, "End: %s.%s", pTrigger->zName, onErrorText(orconf)));
pTrigger         96030 ext/sqlite3/libsqlite/sqlite3.c     pProgram->token = (void *)pTrigger;
pTrigger         96058 ext/sqlite3/libsqlite/sqlite3.c   assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) );
pTrigger         96065 ext/sqlite3/libsqlite/sqlite3.c       pPrg && (pPrg->pTrigger!=pTrigger || pPrg->orconf!=orconf); 
pTrigger         96071 ext/sqlite3/libsqlite/sqlite3.c     pPrg = codeRowTrigger(pParse, pTrigger, pTab, orconf);
pTrigger         96172 ext/sqlite3/libsqlite/sqlite3.c   for(p=pTrigger; p; p=p->pNext){
pTrigger         96231 ext/sqlite3/libsqlite/sqlite3.c   for(p=pTrigger; p; p=p->pNext){
pTrigger         96368 ext/sqlite3/libsqlite/sqlite3.c   Trigger *pTrigger;     /* List of triggers on pTab, if required */
pTrigger         96398 ext/sqlite3/libsqlite/sqlite3.c   pTrigger = sqlite3TriggersExist(pParse, pTab, TK_UPDATE, pChanges, &tmask);
pTrigger         96400 ext/sqlite3/libsqlite/sqlite3.c   assert( pTrigger || tmask==0 );
pTrigger         96528 ext/sqlite3/libsqlite/sqlite3.c   if( pTrigger || hasFK ){
pTrigger         96532 ext/sqlite3/libsqlite/sqlite3.c   if( chngRowid || pTrigger || hasFK ){
pTrigger         96632 ext/sqlite3/libsqlite/sqlite3.c   assert( chngRowid || pTrigger || hasFK || regOldRowid==regNewRowid );
pTrigger         96640 ext/sqlite3/libsqlite/sqlite3.c   if( hasFK || pTrigger ){
pTrigger         96643 ext/sqlite3/libsqlite/sqlite3.c         pTrigger, pChanges, 0, TRIGGER_BEFORE|TRIGGER_AFTER, pTab, onError
pTrigger         96671 ext/sqlite3/libsqlite/sqlite3.c       pParse, pTrigger, pChanges, 1, TRIGGER_BEFORE, pTab, onError
pTrigger         96700 ext/sqlite3/libsqlite/sqlite3.c     sqlite3CodeRowTrigger(pParse, pTrigger, TK_UPDATE, pChanges, 
pTrigger         96767 ext/sqlite3/libsqlite/sqlite3.c   sqlite3CodeRowTrigger(pParse, pTrigger, TK_UPDATE, pChanges, 
pTrigger         96818 ext/sqlite3/libsqlite/sqlite3.c #ifdef pTrigger