Lines Matching defs:pStep
101341 TriggerStep *pStep /* The trigger step be fixed to one database */
101343 while( pStep ){
101344 if( sqlite3FixSelect(pFix, pStep->pSelect) ){
101347 if( sqlite3FixExpr(pFix, pStep->pWhere) ){
101350 if( sqlite3FixExprList(pFix, pStep->pExprList) ){
101353 pStep = pStep->pNext;
110108 TriggerStep *pStep = p->step_list;
110109 sqlite3ExprDelete(dbMem, pStep->pWhere);
110110 sqlite3ExprListDelete(dbMem, pStep->pExprList);
110111 sqlite3SelectDelete(dbMem, pStep->pSelect);
110621 TriggerStep *pStep = 0; /* First (only) step of trigger program */
110726 nFrom + 1 /* Space for pStep->zTarget */
110729 pStep = pTrigger->step_list = (TriggerStep *)&pTrigger[1];
110730 pStep->zTarget = (char *)&pStep[1];
110731 memcpy((char *)pStep->zTarget, zFrom, nFrom);
110733 pStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
110734 pStep->pExprList = sqlite3ExprListDup(db, pList, EXPRDUP_REDUCE);
110735 pStep->pSelect = sqlite3SelectDup(db, pSelect, EXPRDUP_REDUCE);
110753 assert( pStep!=0 );
110757 pStep->op = TK_SELECT;
110761 pStep->op = TK_DELETE;
110765 pStep->op = TK_UPDATE;
110767 pStep->pTrig = pTrigger;
125624 ** Convert the pStep->zTarget string into a SrcList and return a pointer
125635 TriggerStep *pStep /* The trigger containing the target token */
125644 pSrc->a[pSrc->nSrc-1].zName = sqlite3DbStrDup(db, pStep->zTarget);
125645 iDb = sqlite3SchemaToIndex(db, pStep->pTrig->pSchema);
125665 TriggerStep *pStep;
125672 for(pStep=pStepList; pStep; pStep=pStep->pNext){
125686 pParse->eOrconf = (orconf==OE_Default)?pStep->orconf:(u8)orconf;
125690 if( pStep->zSpan ){
125692 sqlite3MPrintf(db, "-- %s", pStep->zSpan),
125697 switch( pStep->op ){
125700 targetSrcList(pParse, pStep),
125701 sqlite3ExprListDup(db, pStep->pExprList, 0),
125702 sqlite3ExprDup(db, pStep->pWhere, 0),
125709 targetSrcList(pParse, pStep),
125710 sqlite3SelectDup(db, pStep->pSelect, 0),
125711 sqlite3IdListDup(db, pStep->pIdList),
125718 targetSrcList(pParse, pStep),
125719 sqlite3ExprDup(db, pStep->pWhere, 0), 0, 0
125723 default: assert( pStep->op==TK_SELECT ); {
125725 Select *pSelect = sqlite3SelectDup(db, pStep->pSelect, 0);
125732 if( pStep->op!=TK_SELECT ){