Lines Matching refs:pWhere

10381   Expr *pWhere;          /* The WHERE clause */
10694 * pWhere -> The WHERE clause of the DELETE statement if one is specified.
10699 * pWhere -> The WHERE clause of the UPDATE statement if one is specified.
10712 Expr *pWhere; /* The WHERE clause for DELETE or UPDATE steps */
69476 if( sqlite3WalkExpr(pWalker, p->pWhere) ) return WRC_Abort;
70565 if( sqlite3ResolveExprNames(&sNC, p->pWhere) ||
71042 heightOfExpr(p->pWhere, pnHeight);
71683 pNew->pWhere = sqlite3ExprDup(db, p->pWhere, flags);
72094 if( p->pWhere ) return 0; /* Has no WHERE clause */
76523 if( sqlite3FixExpr(pFix, pSelect->pWhere) ){
76576 if( sqlite3FixExpr(pFix, pStep->pWhere) ){
81143 ** pWhere argument is an optional WHERE clause that restricts the
81149 Expr *pWhere, /* Optional WHERE clause to be added */
81157 if( pWhere ){
81160 pWhere = sqlite3ExprDup(db, pWhere, 0);
81171 pDup = sqlite3SelectNew(pParse, 0, pFrom, pWhere, 0, 0, 0, 0, 0, 0);
81191 Expr *pWhere, /* The WHERE clause. May be null */
81218 return pWhere;
81244 pSelect = sqlite3SelectNew(pParse,pEList,pSelectSrc,pWhere,0,0,
81265 sqlite3ExprDelete(pParse->db, pWhere);
81278 ** pTabList pWhere
81283 Expr *pWhere /* The WHERE clause. May be null */
81382 sqlite3MaterializeView(pParse, pTab, pWhere, iCur);
81391 if( sqlite3ResolveExprNames(&sNC, pWhere) ){
81408 if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab)
81431 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere,0,WHERE_DUPLICATES_OK);
81503 sqlite3ExprDelete(db, pWhere);
83761 Expr *pWhere = 0; /* WHERE clause to scan with */
83810 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
83830 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
83837 sqlite3ResolveExprNames(&sNameContext, pWhere);
83843 pWInfo = sqlite3WhereBegin(pParse, pSrc, pWhere, 0, 0);
83853 sqlite3ExprDelete(db, pWhere);
83889 sqlite3ExprDelete(dbMem, pStep->pWhere);
84253 Expr *pWhere = 0; /* WHERE clause of trigger step */
84289 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
84349 pWhere,
84352 pWhere = 0;
84370 pStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
84382 sqlite3ExprDelete(db, pWhere);
86136 if( pSelect->pWhere ){
89947 sqlite3ExprDelete(db, p->pWhere);
89976 Expr *pWhere, /* the WHERE clause */
89998 pNew->pWhere = pWhere;
90276 isOuter, &p->pWhere);
90294 p->pWhere = sqlite3ExprAnd(pParse->db, p->pWhere, pRight->pOn);
90323 isOuter, &p->pWhere);
92471 p->pWhere = substExpr(db, p->pWhere, iTable, pEList);
92610 Expr *pWhere; /* The WHERE clause */
92651 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
92921 if( pSub->pWhere ){
92922 pWhere = sqlite3ExprDup(db, pSub->pWhere, 0);
92924 pWhere = 0;
92928 pParent->pHaving = pParent->pWhere;
92929 pParent->pWhere = pWhere;
92936 pParent->pWhere = substExpr(db, pParent->pWhere, iParent, pSub->pEList);
92937 pParent->pWhere = sqlite3ExprAnd(db, pParent->pWhere, pWhere);
93014 if( p->pWhere || p->pEList->nExpr!=1
93638 Expr *pWhere; /* The WHERE clause. May be NULL */
93742 pWhere = p->pWhere;
93844 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, &pOrderBy, 0);
93970 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, &pGroupBy, 0);
94230 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, &pMinMax, flag);
94364 if( p->pWhere ){
94366 sqlite3PrintExpr(p->pWhere);
94610 sqlite3ExprDelete(db, pTmp->pWhere);
95005 Expr *pWhere, /* The WHERE clause */
95013 pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
95017 sqlite3ExprDelete(db, pWhere);
95029 Expr *pWhere /* The WHERE clause */
95035 pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
95038 sqlite3ExprDelete(db, pWhere);
95311 sqlite3ExprDup(db, pStep->pWhere, 0),
95329 sqlite3ExprDup(db, pStep->pWhere, 0)
95725 Expr *pWhere /* WHERE clause of the UPDATE statement */
95785 * onError pTabList pChanges pWhere
95791 Expr *pWhere, /* The WHERE clause. May be null */
95969 pWhere);
95970 pWhere = 0;
95998 sqlite3MaterializeView(pParse, pTab, pWhere, iCur);
96005 if( sqlite3ResolveExprNames(&sNC, pWhere) ){
96012 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere,0, WHERE_ONEPASS_DESIRED);
96259 sqlite3ExprDelete(db, pWhere);
96299 Expr *pWhere /* WHERE clause of the UPDATE statement */
96330 pSelect = sqlite3SelectNew(pParse, pEList, pSrc, pWhere, 0, 0, 0, 0, 0, 0);
98126 mask |= exprTableUsage(pMaskSet, pS->pWhere);
102023 Expr *pWhere, /* The WHERE clause */
102090 sqlite3ExprCodeConstants(pParse, pWhere);
102091 whereSplit(pWC, pWhere, TK_AND); /* IMP: R-15842-53296 */
102096 if( pWhere && (nTabList==0 || sqlite3ExprIsConstantNotJoin(pWhere)) ){
102097 sqlite3ExprIfFalse(pParse, pWhere, pWInfo->iBreak, SQLITE_JUMPIFNULL);
102098 pWhere = 0;