Home | History | Annotate | Download | only in dist

Lines Matching defs:pWhere

11697   Expr *pWhere;          /* The WHERE clause */
12107 * pWhere -> The WHERE clause of the DELETE statement if one is specified.
12112 * pWhere -> The WHERE clause of the UPDATE statement if one is specified.
12125 Expr *pWhere; /* The WHERE clause for DELETE or UPDATE steps */
76712 if( sqlite3WalkExpr(pWalker, p->pWhere) ) return WRC_Abort;
78034 if( sqlite3ResolveExprNames(&sNC, p->pWhere) ) return WRC_Abort;
78587 heightOfExpr(p->pWhere, pnHeight);
79301 pNew->pWhere = sqlite3ExprDup(db, p->pWhere, flags);
79702 if( p->pWhere ) return 0; /* Has no WHERE clause */
85775 if( sqlite3FixExpr(pFix, pSelect->pWhere) ){
85848 if( sqlite3FixExpr(pFix, pStep->pWhere) ){
90938 ** pWhere argument is an optional WHERE clause that restricts the
90944 Expr *pWhere, /* Optional WHERE clause to be added */
90952 pWhere = sqlite3ExprDup(db, pWhere, 0);
90961 pSel = sqlite3SelectNew(pParse, 0, pFrom, pWhere, 0, 0, 0, 0, 0, 0);
90980 Expr *pWhere, /* The WHERE clause. May be null */
91006 return pWhere;
91032 pSelect = sqlite3SelectNew(pParse,pEList,pSelectSrc,pWhere,0,0,
91053 sqlite3ExprDelete(pParse->db, pWhere);
91067 ** pTabList pWhere
91072 Expr *pWhere /* The WHERE clause. May be null */
91187 sqlite3MaterializeView(pParse, pTab, pWhere, iTabCur);
91197 if( sqlite3ResolveExprNames(&sNC, pWhere) ){
91214 if( rcauth==SQLITE_OK && pWhere==0 && !pTrigger && !IsVirtual(pTab)
91252 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, 0, 0,
91405 sqlite3ExprDelete(db, pWhere);
93985 Expr *pWhere = 0; /* WHERE clause to scan with */
94023 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
94058 pWhere = sqlite3ExprAnd(db, pWhere, pNe);
94065 sqlite3ResolveExprNames(&sNameContext, pWhere);
94071 pWInfo = sqlite3WhereBegin(pParse, pSrc, pWhere, 0, 0, 0, 0);
94081 sqlite3ExprDelete(db, pWhere);
94117 sqlite3ExprDelete(dbMem, pStep->pWhere);
94570 Expr *pWhere = 0; /* WHERE clause of trigger step */
94606 pWhere = sqlite3ExprAnd(db, pWhere, pEq);
94666 pWhere,
94669 pWhere = 0;
94687 pStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
94699 sqlite3ExprDelete(db, pWhere);
96613 if( pSelect->pWhere ){
101522 sqlite3ExprDelete(db, p->pWhere);
101552 Expr *pWhere, /* the WHERE clause */
101576 pNew->pWhere = pWhere;
101864 isOuter, &p->pWhere);
101882 p->pWhere = sqlite3ExprAnd(pParse->db, p->pWhere, pRight->pOn);
101911 isOuter, &p->pWhere);
104504 p->pWhere = substExpr(db, p->pWhere, iTable, pEList);
104662 Expr *pWhere; /* The WHERE clause */
104703 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
104981 if( pSub->pWhere ){
104982 pWhere = sqlite3ExprDup(db, pSub->pWhere, 0);
104984 pWhere = 0;
104988 pParent->pHaving = pParent->pWhere;
104989 pParent->pWhere = pWhere;
104996 pParent->pWhere = substExpr(db, pParent->pWhere, iParent, pSub->pEList);
104997 pParent->pWhere = sqlite3ExprAnd(db, pParent->pWhere, pWhere);
105083 if( p->pWhere || p->pEList->nExpr!=1
105180 p->pWhere = 0;
106005 Expr *pWhere; /* The WHERE clause. May be NULL */
106171 pWhere = p->pWhere;
106268 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, sSort.pOrderBy,
106425 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, pGroupBy, 0,
106720 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, pMinMax,0,flag,0);
106827 if( p->pWhere ){
106829 sqlite3ExplainExpr(pVdbe, p->pWhere);
107102 sqlite3ExprDelete(db, pTmp->pWhere);
107507 Expr *pWhere, /* The WHERE clause */
107515 pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
107519 sqlite3ExprDelete(db, pWhere);
107531 Expr *pWhere /* The WHERE clause */
107537 pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE);
107540 sqlite3ExprDelete(db, pWhere);
107815 sqlite3ExprDup(db, pStep->pWhere, 0),
107832 sqlite3ExprDup(db, pStep->pWhere, 0)
108230 Expr *pWhere, /* WHERE clause of the UPDATE statement */
108291 * onError pTabList pChanges pWhere
108297 Expr *pWhere, /* The WHERE clause. May be null */
108508 pWhere, onError);
108509 pWhere = 0;
108538 sqlite3MaterializeView(pParse, pTab, pWhere, iDataCur);
108545 if( sqlite3ResolveExprNames(&sNC, pWhere) ){
108554 pParse, pTabList, pWhere, 0, 0, WHERE_ONEPASS_DESIRED, iIdxCur
108583 pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, 0, 0,
108871 sqlite3ExprDelete(db, pWhere);
108911 Expr *pWhere, /* WHERE clause of the UPDATE statement */
108943 pSelect = sqlite3SelectNew(pParse, pEList, pSrc, pWhere, 0, 0, 0, 0, 0, 0);
111254 mask |= exprTableUsage(pMaskSet, pS->pWhere);
115469 static int whereUsablePartialIndex(int iTab, WhereClause *pWC, Expr *pWhere){
115473 if( sqlite3ExprImpliesExpr(pTerm->pExpr, pWhere, iTab) ) return 1;
116875 Expr *pWhere, /* The WHERE clause */
116964 whereSplit(&pWInfo->sWC, pWhere, TK_AND);