Lines Matching defs:pUpper

158219 ** extracted from pLower and pUpper with the corresponding column in each
158221 ** equal to the values extracted from pLower and pUpper respectively, and
158228 ** set to zero. If pUpper is NULL, or a value cannot be extracted from it,
158232 ** if no value can be extracted from either pLower or pUpper (and so the
158242 WhereTerm *pUpper, /* Upper bound on the range. ex: "x<455" Might be NULL */
158256 sqlite3_value *p2 = 0; /* Value extracted from pUpper */
158264 if( pUpper && rc==SQLITE_OK ){
158265 rc = sqlite3Stat4ValueFromExpr(pParse, pUpper->pExpr->pRight, aff, &p2);
158291 if( nDiff!=1 || pUpper==0 || pLower==0 ){
158315 ** and lower bounds are represented by pLower and pUpper respectively. For
158321 ** pLower pUpper
158344 ** to account for the range constraints pLower and pUpper.
158355 WhereTerm *pUpper, /* Upper bound on the range. ex: "x<455" Might be NULL */
158416 assert( pUpper==0 || (pUpper->eOperator & (WO_LT|WO_LE))!=0 );
158419 /* The roles of pLower and pUpper are swapped for a DESC index */
158420 SWAP(WhereTerm*, pLower, pUpper);
158442 if( pUpper ){
158444 Expr *pExpr = pUpper->pExpr->pRight;
158451 iNew = a[0] + ((pUpper->eOperator & mask) ? a[1] : 0);
158454 pUpper = 0;
158478 rc = whereRangeSkipScanEst(pParse, pLower, pUpper, pLoop, &bDone);
158485 assert( pLower || pUpper );
158487 assert( pUpper==0 || (pUpper->wtFlags & TERM_VNULL)==0 );
158489 nNew = whereRangeAdjust(pUpper, nNew);
158497 if( pLower && pLower->truthProb>0 && pUpper && pUpper->truthProb>0 ){
158501 nOut -= (pLower!=0) + (pUpper!=0);