Home
last modified time | relevance | path

Searched refs:pTriggerStack (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libsqlite/src/
H A Dtrigger.c694 TriggerStack * pTriggerStack; in sqliteCodeRowTrigger() local
709 pTriggerStack = pParse->trigStack; in sqliteCodeRowTrigger()
710 while( pTriggerStack ){ in sqliteCodeRowTrigger()
711 if( pTriggerStack->pTrigger == pTrigger ){ in sqliteCodeRowTrigger()
714 pTriggerStack = pTriggerStack->pNext; in sqliteCodeRowTrigger()
722 if( fire_this && (pTriggerStack = sqliteMalloc(sizeof(TriggerStack)))!=0 ){ in sqliteCodeRowTrigger()
731 pTriggerStack->pTrigger = pTrigger; in sqliteCodeRowTrigger()
732 pTriggerStack->newIdx = newIdx; in sqliteCodeRowTrigger()
733 pTriggerStack->oldIdx = oldIdx; in sqliteCodeRowTrigger()
734 pTriggerStack->pTab = pTab; in sqliteCodeRowTrigger()
[all …]
H A Dexpr.c491 TriggerStack *pTriggerStack = pParse->trigStack; in lookupName() local
493 if( pTriggerStack->newIdx != -1 && sqliteStrICmp("new", zTab) == 0 ){ in lookupName()
494 pExpr->iTable = pTriggerStack->newIdx; in lookupName()
495 assert( pTriggerStack->pTab ); in lookupName()
496 pTab = pTriggerStack->pTab; in lookupName()
497 }else if( pTriggerStack->oldIdx != -1 && sqliteStrICmp("old", zTab) == 0 ){ in lookupName()
498 pExpr->iTable = pTriggerStack->oldIdx; in lookupName()
499 assert( pTriggerStack->pTab ); in lookupName()
500 pTab = pTriggerStack->pTab; in lookupName()