Lines Matching refs:pWhere

10649   Expr *pWhere;          /* The WHERE clause */  member
10979 Expr *pWhere; /* The WHERE clause for DELETE or UPDATE steps */ member
69961 if( sqlite3WalkExpr(pWalker, p->pWhere) ) return WRC_Abort;
71050 if( sqlite3ResolveExprNames(&sNC, p->pWhere) ||
71527 heightOfExpr(p->pWhere, pnHeight);
72168 pNew->pWhere = sqlite3ExprDup(db, p->pWhere, flags);
72579 if( p->pWhere ) return 0; /* Has no WHERE clause */
77024 if( sqlite3FixExpr(pFix, pSelect->pWhere) ){
77077 if( sqlite3FixExpr(pFix, pStep->pWhere) ){
81647 Expr *pWhere, /* Optional WHERE clause to be added */
81655 if( pWhere ){
81658 pWhere = sqlite3ExprDup(db, pWhere, 0);
81669 pDup = sqlite3SelectNew(pParse, 0, pFrom, pWhere, 0, 0, 0, 0, 0, 0);
81689 Expr *pWhere, /* The WHERE clause. May be null */
81716 return pWhere;
81742 pSelect = sqlite3SelectNew(pParse,pEList,pSelectSrc,pWhere,0,0,
81763 sqlite3ExprDelete(pParse->db, pWhere);
81781 Expr *pWhere /* The WHERE clause. May be null */
81880 sqlite3MaterializeView(pParse, pTab, pWhere, iCur);
81889 if( sqlite3ResolveExprNames(&sNC, pWhere) ){
81906 if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab)
81929 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere,0,WHERE_DUPLICATES_OK);
82002 sqlite3ExprDelete(db, pWhere);
84294 Expr *pWhere = 0; /* WHERE clause to scan with */
84343 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
84363 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
84370 sqlite3ResolveExprNames(&sNameContext, pWhere);
84376 pWInfo = sqlite3WhereBegin(pParse, pSrc, pWhere, 0, 0);
84386 sqlite3ExprDelete(db, pWhere);
84422 sqlite3ExprDelete(dbMem, pStep->pWhere);
84786 Expr *pWhere = 0; /* WHERE clause of trigger step */
84822 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
84882 pWhere,
84885 pWhere = 0;
84903 pStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
84915 sqlite3ExprDelete(db, pWhere);
86670 if( pSelect->pWhere ){
90495 sqlite3ExprDelete(db, p->pWhere);
90524 Expr *pWhere, /* the WHERE clause */
90546 pNew->pWhere = pWhere;
90824 isOuter, &p->pWhere);
90842 p->pWhere = sqlite3ExprAnd(pParse->db, p->pWhere, pRight->pOn);
90871 isOuter, &p->pWhere);
93019 p->pWhere = substExpr(db, p->pWhere, iTable, pEList);
93158 Expr *pWhere; /* The WHERE clause */
93199 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
93469 if( pSub->pWhere ){
93470 pWhere = sqlite3ExprDup(db, pSub->pWhere, 0);
93472 pWhere = 0;
93476 pParent->pHaving = pParent->pWhere;
93477 pParent->pWhere = pWhere;
93484 pParent->pWhere = substExpr(db, pParent->pWhere, iParent, pSub->pEList);
93485 pParent->pWhere = sqlite3ExprAnd(db, pParent->pWhere, pWhere);
93562 if( p->pWhere || p->pEList->nExpr!=1
94186 Expr *pWhere; /* The WHERE clause. May be NULL */
94290 pWhere = p->pWhere;
94392 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, &pOrderBy, 0);
94518 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, &pGroupBy, 0);
94780 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, &pMinMax, flag);
94914 if( p->pWhere ){
94916 sqlite3PrintExpr(p->pWhere);
95160 sqlite3ExprDelete(db, pTmp->pWhere);
95554 Expr *pWhere, /* The WHERE clause */
95562 pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
95566 sqlite3ExprDelete(db, pWhere);
95578 Expr *pWhere /* The WHERE clause */
95584 pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
95587 sqlite3ExprDelete(db, pWhere);
95860 sqlite3ExprDup(db, pStep->pWhere, 0),
95878 sqlite3ExprDup(db, pStep->pWhere, 0)
96274 Expr *pWhere, /* WHERE clause of the UPDATE statement */
96341 Expr *pWhere, /* The WHERE clause. May be null */
96519 pWhere, onError);
96520 pWhere = 0;
96548 sqlite3MaterializeView(pParse, pTab, pWhere, iCur);
96555 if( sqlite3ResolveExprNames(&sNC, pWhere) ){
96562 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere,0, WHERE_ONEPASS_DESIRED);
96809 sqlite3ExprDelete(db, pWhere);
96849 Expr *pWhere, /* WHERE clause of the UPDATE statement */
96881 pSelect = sqlite3SelectNew(pParse, pEList, pSrc, pWhere, 0, 0, 0, 0, 0, 0);
98804 mask |= exprTableUsage(pMaskSet, pS->pWhere);
102701 Expr *pWhere, /* The WHERE clause */
102768 sqlite3ExprCodeConstants(pParse, pWhere);
102769 whereSplit(pWC, pWhere, TK_AND); /* IMP: R-15842-53296 */
102774 if( pWhere && (nTabList==0 || sqlite3ExprIsConstantNotJoin(pWhere)) ){
102775 sqlite3ExprIfFalse(pParse, pWhere, pWInfo->iBreak, SQLITE_JUMPIFNULL);
102776 pWhere = 0;