Lines Matching refs:pLeft

15097   Expr *pLeft;           /* Left subnode */  member
15188 #define EXPR_TOKENONLYSIZE offsetof(Expr,pLeft) /* Fewer features */
26457 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0);
26492 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0);
26498 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0);
26534 sqlite3TreeViewExpr(pView, pExpr->pLeft, 1);
26556 Expr *pX = pExpr->pLeft;
26579 sqlite3TreeViewExpr(pView, pExpr->pLeft, 1);
26608 sqlite3TreeViewSelect(pView, pExpr->pLeft->x.pSelect, 0);
26618 sqlite3TreeViewExpr(pView, pExpr->pLeft, 1);
26622 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0);
46309 struct RowSetEntry *pLeft; /* Left subtree (smaller entries) */
46527 if( pIn->pLeft ){
46529 rowSetTreeToList(pIn->pLeft, ppFirst, &p);
46561 struct RowSetEntry *pLeft; /* Left subtree */
46570 pLeft = rowSetNDeepTree(ppList, iDepth-1);
46575 return pLeft;
46577 p->pLeft = pLeft;
46583 p->pLeft = p->pRight = 0;
46595 struct RowSetEntry *pLeft; /* Left subtree */
46600 p->pLeft = p->pRight = 0;
46602 pLeft = p;
46605 p->pLeft = pLeft;
46677 if( pTree->pLeft==0 ){
46678 pTree->pLeft = rowSetListToTree(p);
46682 rowSetTreeToList(pTree->pLeft, &pAux, &pTail);
46683 pTree->pLeft = 0;
46692 pTree->pLeft = rowSetListToTree(p);
46706 p = pTree->pLeft;
46711 p = p->pLeft;
70889 while( (op = pExpr->op)==TK_UPLUS || op==TK_SPAN ) pExpr = pExpr->pLeft;
70900 rc = valueFromExpr(db, pExpr->pLeft, enc, aff, ppVal, pCtx);
70913 && (pExpr->pLeft->op==TK_INTEGER || pExpr->pLeft->op==TK_FLOAT) ){
70914 pExpr = pExpr->pLeft;
70941 if( SQLITE_OK==sqlite3ValueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal)
72604 displayP4Expr(p, pExpr->pLeft);
89072 if( pExpr->pLeft && walkExpr(pWalker, pExpr->pLeft) ) return WRC_Abort;
89583 assert( pExpr->pLeft==0 && pExpr->pRight==0 );
89665 sqlite3ExprDelete(db, pExpr->pLeft);
89666 pExpr->pLeft = 0;
89825 zTable = pExpr->pLeft->u.zToken;
89829 zDb = pExpr->pLeft->u.zToken;
89830 zTable = pRight->pLeft->u.zToken;
89987 assert( pExpr->pLeft!=0 );
89988 nLeft = sqlite3ExprVectorSize(pExpr->pLeft);
90205 while( pParent->pLeft->op==TK_COLLATE ) pParent = pParent->pLeft;
90206 assert( pParent->pLeft==pE );
90207 pParent->pLeft = pNew;
90802 assert( pExpr->pLeft->flags&EP_xIsSelect );
90804 pExpr->pLeft->x.pSelect->pEList->a[pExpr->iColumn].pExpr
90827 pNew->pLeft = pExpr;
90854 pExpr = pExpr->pLeft;
90877 p = p->pLeft;
90898 if( p->pLeft && (p->pLeft->flags & EP_Collate)!=0 ){
90899 p = p->pLeft;
90965 assert( pExpr->pLeft );
90966 aff = sqlite3ExprAffinity(pExpr->pLeft);
91019 Expr *pLeft,
91023 assert( pLeft );
91024 if( pLeft->flags & EP_Collate ){
91025 pColl = sqlite3ExprCollSeq(pParse, pLeft);
91029 pColl = sqlite3ExprCollSeq(pParse, pLeft);
91042 Expr *pLeft, /* The left operand */
91053 p4 = sqlite3BinaryCompareCollSeq(pParse, pLeft, pRight);
91054 p5 = binaryCompareP5(pLeft, pRight, jumpIfNull);
91171 pRet->pLeft = pVector;
91259 Expr *pLeft = pExpr->pLeft;
91261 int nLeft = sqlite3ExprVectorSize(pLeft);
91286 regLeft = exprCodeSubselect(pParse, pLeft);
91295 r1 = exprVectorRegister(pParse, pLeft, i, regLeft, &pL, &regFree1);
91396 heightOfExpr(p->pLeft, &nHeight);
91532 Expr *pLeft,
91537 sqlite3ExprDelete(db, pLeft);
91544 if( pLeft ){
91545 pRoot->pLeft = pLeft;
91546 pRoot->flags |= EP_Propagate & pLeft->flags;
91562 Expr *pLeft, /* Left operand */
91568 p = sqlite3ExprAnd(pParse->db, pLeft, pRight);
91576 sqlite3ExprAttachSubtrees(pParse->db, p, pLeft, pRight);
91635 SQLITE_PRIVATE Expr *sqlite3ExprAnd(sqlite3 *db, Expr *pLeft, Expr *pRight){
91636 if( pLeft==0 ){
91639 return pLeft;
91640 }else if( exprAlwaysFalse(pLeft) || exprAlwaysFalse(pRight) ){
91641 sqlite3ExprDelete(db, pLeft);
91646 sqlite3ExprAttachSubtrees(db, pNew, pLeft, pRight);
91760 assert( p->pLeft==0 );
91768 if( p->pLeft && p->op!=TK_SELECT_COLUMN ) sqlite3ExprDeleteNN(db, p->pLeft);
91842 if( p->pLeft || p->x.pList ){
91883 nByte += dupedExprSize(p->pLeft, flags) + dupedExprSize(p->pRight, flags);
91966 pNew->pLeft = p->pLeft ?
91967 exprDup(db, p->pLeft, EXPRDUP_REDUCE, &zAlloc) : 0;
91977 pNew->pLeft = p->pLeft;
91979 assert( p->pRight==0 || p->pRight==p->pLeft );
91981 pNew->pLeft = sqlite3ExprDup(db, p->pLeft, 0);
92065 assert( pOldExpr->pLeft==pOldExpr->pRight );
92066 pPriorSelectCol = pNewExpr->pLeft = pNewExpr->pRight;
92071 assert( pPriorSelectCol==pItem[-1].pExpr->pLeft );
92072 pNewExpr->pLeft = pPriorSelectCol;
92613 rc = sqlite3ExprIsInteger(p->pLeft, pValue);
92618 if( sqlite3ExprIsInteger(p->pLeft, &v) ){
92646 while( p->op==TK_UPLUS || p->op==TK_UMINUS ){ p = p->pLeft; }
92677 while( p->op==TK_UPLUS || p->op==TK_UMINUS ){ p = p->pLeft; }
92789 pLHS = pIn->pLeft;
92790 pIn->pLeft = 0;
92792 pIn->pLeft = pLHS;
92951 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i);
92993 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i);
93071 if( pX->pLeft->iColumn<0 && !ExprHasProperty(pX, EP_xIsSelect) ){
93085 n = sqlite3ExprVectorSize(pX->pLeft);
93102 Expr *pLeft = pExpr->pLeft;
93103 int nVal = sqlite3ExprVectorSize(pLeft);
93112 Expr *pA = sqlite3VectorFieldSubexpr(pLeft, i);
93231 Expr *pLeft = pExpr->pLeft; /* the LHS of the IN operator */
93235 nVal = sqlite3ExprVectorSize(pLeft);
93287 Expr *p = sqlite3VectorFieldSubexpr(pLeft, i);
93307 affinity = sqlite3ExprAffinity(pLeft);
93313 pKeyInfo->aColl[0] = sqlite3ExprCollSeq(pParse, pExpr->pLeft);
93435 int nVector = sqlite3ExprVectorSize(pIn->pLeft);
93442 sqlite3VectorErrorMsg(pParse, pIn->pLeft);
93490 Expr *pLeft; /* The LHS of the IN operator */
93498 pLeft = pExpr->pLeft;
93501 nVector = sqlite3ExprVectorSize(pExpr->pLeft);
93541 rLhsOrig = exprCodeVector(pParse, pLeft, &iDummy);
93562 CollSeq *pColl = sqlite3ExprCollSeq(pParse, pExpr->pLeft);
93610 Expr *p = sqlite3VectorFieldSubexpr(pExpr->pLeft, i);
93675 p = sqlite3VectorFieldSubexpr(pLeft, i);
94226 inReg = sqlite3ExprCodeTarget(pParse, pExpr->pLeft, target);
94249 Expr *pLeft = pExpr->pLeft;
94250 if( sqlite3ExprIsVector(pLeft) ){
94253 r1 = sqlite3ExprCodeTemp(pParse, pLeft, &regFree1);
94255 codeCompare(pParse, pLeft, pExpr->pRight, op,
94291 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
94299 Expr *pLeft = pExpr->pLeft;
94300 assert( pLeft );
94301 if( pLeft->op==TK_INTEGER ){
94302 codeInteger(pParse, pLeft, 1, target);
94305 }else if( pLeft->op==TK_FLOAT ){
94307 codeReal(v, pLeft->u.zToken, 1, target);
94315 r2 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree2);
94325 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
94336 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
94524 if( pExpr->pLeft->iTable==0 ){
94525 pExpr->pLeft->iTable = sqlite3CodeSubselect(pParse, pExpr->pLeft, 0, 0);
94527 assert( pExpr->iTable==0 || pExpr->pLeft->op==TK_SELECT );
94529 && pExpr->iTable!=(n = sqlite3ExprVectorSize(pExpr->pLeft))
94534 return pExpr->pLeft->iTable + pExpr->iColumn;
94568 return sqlite3ExprCodeTarget(pParse, pExpr->pLeft, target);
94671 if( (pX = pExpr->pLeft)!=0 ){
94678 opCompare.pLeft = &tempX;
94993 exprX = *pExpr->pLeft;
94995 exprAnd.pLeft = &compLeft;
94998 compLeft.pLeft = &exprX;
95001 compRight.pLeft = &exprX;
95058 sqlite3ExprIfFalse(pParse, pExpr->pLeft, d2,jumpIfNull^SQLITE_JUMPIFNULL);
95067 sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, jumpIfNull);
95075 sqlite3ExprIfFalse(pParse, pExpr->pLeft, dest, jumpIfNull);
95091 if( sqlite3ExprIsVector(pExpr->pLeft) ) goto default_expr;
95093 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
95095 codeCompare(pParse, pExpr->pLeft, pExpr->pRight, op,
95115 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
95211 sqlite3ExprIfFalse(pParse, pExpr->pLeft, dest, jumpIfNull);
95220 sqlite3ExprIfTrue(pParse, pExpr->pLeft, d2, jumpIfNull^SQLITE_JUMPIFNULL);
95229 sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, jumpIfNull);
95245 if( sqlite3ExprIsVector(pExpr->pLeft) ) goto default_expr;
95247 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
95249 codeCompare(pParse, pExpr->pLeft, pExpr->pRight, op,
95267 r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
95361 if( pA->op==TK_COLLATE && sqlite3ExprCompare(pA->pLeft, pB, iTab)<2 ){
95364 if( pB->op==TK_COLLATE && sqlite3ExprCompare(pA, pB->pLeft, iTab)<2 ){
95379 if( sqlite3ExprCompare(pA->pLeft, pB->pLeft, iTab) ) return 2;
95456 && (sqlite3ExprImpliesExpr(pE1, pE2->pLeft, iTab)
95462 Expr *pX = sqlite3ExprSkipCollate(pE1->pLeft);
95463 testcase( pX!=pE1->pLeft );
95464 if( sqlite3ExprCompare(pX, pE2->pLeft, iTab)==0 ) return 1;
96512 if( pDflt && pDflt->pLeft->op==TK_NULL ){
99148 pExpr = pExpr->pLeft;
100693 x.pLeft = pSpan->pExpr;
100721 }else if( p->op==TK_COLLATE && p->pLeft->op==TK_STRING ){
100722 p->pLeft->op = TK_ID;
107739 Expr *pLeft; /* Value from parent table row */
107746 pLeft = exprTableRegister(pParse, pTab, regData, iCol);
107751 pEq = sqlite3PExpr(pParse, TK_EQ, pLeft, pRight);
107768 Expr *pLeft; /* Value from parent table row */
107771 pLeft = exprTableRegister(pParse, pTab, regData, -1);
107773 pNe = sqlite3PExpr(pParse, TK_NE, pLeft, pRight);
107781 pLeft = exprTableRegister(pParse, pTab, regData, iCol);
107783 pEq = sqlite3PExpr(pParse, TK_EQ, pLeft, pRight);
116635 setJoinExpr(p->pLeft, iTable);
116657 struct SrcList_item *pLeft; /* Left table being joined */
116661 pLeft = &pSrc->a[0];
116662 pRight = &pLeft[1];
116663 for(i=0; i<pSrc->nSrc-1; i++, pRight++, pLeft++){
116664 Table *pLeftTab = pLeft->pTab;
119419 assert( pExpr->pLeft==0 && pExpr->pRight==0 );
119433 pExpr->pLeft = substExpr(pParse, pExpr->pLeft, iTable, pEList);
120100 pWhere = pWhere->pLeft;
120383 Select *pLeft; /* Left-most SELECT statement */
120452 for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior);
120453 pEList = pLeft->pEList;
120644 assert( pE->op!=TK_DOT || (pE->pLeft!=0 && pE->pLeft->op==TK_ID) );
120682 assert( pE->pLeft!=0 );
120683 assert( !ExprHasProperty(pE->pLeft, EP_IntValue) );
120684 zTName = pE->pLeft->u.zToken;
120746 Expr *pLeft;
120747 pLeft = sqlite3Expr(db, TK_ID, zTabName);
120748 pExpr = sqlite3PExpr(pParse, TK_DOT, pLeft, pRight);
120750 pLeft = sqlite3Expr(db, TK_ID, zSchemaName);
120751 pExpr = sqlite3PExpr(pParse, TK_DOT, pLeft, pExpr);
126781 ExprList *pOrigLhs = pX->pLeft->x.pList;
126796 Expr *pLeft = pX->pLeft;
126816 pX->pLeft = pLhs->a[0].pExpr;
126818 pLeft->x.pList = pLhs;
126828 pLeft->x.pList = pOrigLhs;
126829 pX->pLeft = pLeft;
127517 pCompare->pLeft = pTerm->pExpr->pLeft;
127523 pCompare->pLeft = 0;
128132 pAndExpr->pLeft = pOrExpr;
128245 pAndExpr->pLeft = 0;
128351 sEAlt.pLeft = pE->pLeft;
128504 u16 expLeft = (pExpr->pLeft->flags & EP_Collate);
128512 }else if( sqlite3ExprCollSeq(pParse, pExpr->pLeft)!=0 ){
128516 pExpr->pLeft->flags |= EP_Collate;
128519 SWAP(Expr*,pExpr->pRight,pExpr->pLeft);
128579 Expr *pRight, *pLeft; /* Right and left size of LIKE operator */
128596 pLeft = pList->a[1].pExpr;
128622 if( pLeft->op!=TK_COLUMN
128623 || sqlite3ExprAffinity(pLeft)!=SQLITE_AFF_TEXT
128624 || IsVirtual(pLeft->pTab) /* Value might be numeric */
128788 assert( pOne->pExpr->pLeft!=0 && pOne->pExpr->pRight!=0 );
128789 assert( pTwo->pExpr->pLeft!=0 && pTwo->pExpr->pRight!=0 );
128790 if( sqlite3ExprCompare(pOne->pExpr->pLeft, pTwo->pExpr->pLeft, -1) ) return;
129095 affLeft = sqlite3ExprAffinity(pOrTerm->pExpr->pLeft);
129112 Expr *pLeft = 0; /* The LHS of the IN operator */
129122 pLeft = pOrTerm->pExpr->pLeft;
129124 assert( pLeft!=0 );
129125 pDup = sqlite3ExprDup(db, pLeft, 0);
129168 aff1 = sqlite3ExprAffinity(pExpr->pLeft);
129175 pColl = sqlite3BinaryCompareCollSeq(pParse, pExpr->pLeft, pExpr->pRight);
129177 pColl = sqlite3ExprCollSeq(pParse, pExpr->pLeft);
129314 prereqLeft = sqlite3WhereExprUsage(pMaskSet, pExpr->pLeft);
129346 Expr *pLeft = sqlite3ExprSkipCollate(pExpr->pLeft);
129352 assert( pLeft->op==TK_VECTOR );
129353 pLeft = pLeft->x.pList->a[pTerm->iField-1].pExpr;
129356 if( exprMightBeIndexed(pSrc, op, prereqLeft, pLeft, &iCur, &iColumn) ){
129428 sqlite3ExprDup(db, pExpr->pLeft, 0),
129468 Expr *pLeft; /* LHS of LIKE/GLOB operator */
129477 pLeft = pExpr->x.pList->a[1].pExpr;
129511 pNewExpr1 = sqlite3ExprDup(db, pLeft, 0);
129519 pNewExpr2 = sqlite3ExprDup(db, pLeft, 0);
129544 Expr *pRight, *pLeft;
129549 pLeft = pExpr->x.pList->a[1].pExpr;
129551 prereqColumn = sqlite3WhereExprUsage(pMaskSet, pLeft);
129560 pNewTerm->leftCursor = pLeft->iTable;
129561 pNewTerm->u.leftColumn = pLeft->iColumn;
129581 && (nLeft = sqlite3ExprVectorSize(pExpr->pLeft))>1
129583 && ( (pExpr->pLeft->flags & EP_xIsSelect)==0
129590 Expr *pLeft = sqlite3ExprForVectorField(pParse, pExpr->pLeft, i);
129593 pNew = sqlite3PExpr(pParse, pExpr->op, pLeft, pRight);
129612 && pExpr->pLeft->op==TK_VECTOR
129616 for(i=0; i<sqlite3ExprVectorSize(pExpr->pLeft); i++){
129634 && pExpr->pLeft->op==TK_COLUMN
129635 && pExpr->pLeft->iColumn>=0
129639 Expr *pLeft = pExpr->pLeft;
129644 sqlite3ExprDup(db, pLeft, 0),
129652 pNewTerm->leftCursor = pLeft->iTable;
129653 pNewTerm->u.leftColumn = pLeft->iColumn;
129700 sqlite3WhereSplit(pWC, pE2->pLeft, op);
129758 if( p->pLeft ) mask |= sqlite3WhereExprUsage(pMaskSet, p->pLeft);
130049 || sqlite3ExprCompareSkip(pTerm->pExpr->pLeft,
130079 assert(pX->pLeft);
130081 pX->pLeft, pX->pRight);
130582 pColl = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pX->pRight);
132080 int nCmp = sqlite3ExprVectorSize(pTerm->pExpr->pLeft);
132090 Expr *pLhs = pTerm->pExpr->pLeft->x.pList->a[i].pExpr;
132525 if( !whereUsablePartialIndex(iTab,pWC,pWhere->pLeft) ) return 0;
134987 ExprSpan *pLeft, /* The left operand, and output */
134990 pLeft->pExpr = sqlite3PExpr(pParse, op, pLeft->pExpr, pRight->pExpr);
134991 pLeft->zEnd = pRight->zEnd;
137472 Select *pRight, *pLeft = yymsp[-4].minor.yy243;
137474 if( ALWAYS(pLeft) ) pLeft->selFlags &= ~SF_MultiValue;
137477 pRight->pPrior = pLeft;
137480 yymsp[-4].minor.yy243 = pLeft;
137514 Expr *pLeft = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[-2].minor.yy0, 1);
137515 Expr *pDot = sqlite3PExpr(pParse, TK_DOT, pLeft, pRight);
145342 Fts3Expr *pLeft; /* Left operand */
149291 fts3EvalAllocateReaders(pCsr, pExpr->pLeft, pnToken, pnOr, pRc);
149333 char *pLeft;
149340 pLeft = p->doclist.aAll;
149348 pLeft = pList;
149354 pTab->bDescIdx, nDiff, pLeft, nLeft, &pRight, &nRight
149356 sqlite3_free(pLeft);
149940 fts3EvalStartReaders(pCsr, pExpr->pLeft, pRc);
149942 pExpr->bDeferred = (pExpr->pLeft->bDeferred && pExpr->pRight->bDeferred);
150002 assert( pExpr->pLeft && pExpr->pRight );
150004 pRoot = pExpr->pLeft;
150008 fts3EvalTokenCosts(pCsr, pRoot, pExpr->pLeft, ppTC, ppOr, pRc);
150392 Fts3Expr *pLeft = pExpr->pLeft;
150394 assert( !pLeft->bDeferred || !pRight->bDeferred );
150396 if( pLeft->bDeferred ){
150405 fts3EvalNextRow(pCsr, pLeft, pRc);
150406 pExpr->iDocid = pLeft->iDocid;
150407 pExpr->bEof = pLeft->bEof;
150410 fts3EvalNextRow(pCsr, pLeft, pRc);
150412 while( !pLeft->bEof && !pRight->bEof && *pRc==SQLITE_OK ){
150413 sqlite3_int64 iDiff = DOCID_CMP(pLeft->iDocid, pRight->iDocid);
150416 fts3EvalNextRow(pCsr, pLeft, pRc);
150421 pExpr->iDocid = pLeft->iDocid;
150422 pExpr->bEof = (pLeft->bEof || pRight->bEof);
150431 if( pLeft->pPhrase && pLeft->pPhrase->doclist.aAll ){
150432 Fts3Doclist *pDl = &pLeft->pPhrase->doclist;
150433 while( *pRc==SQLITE_OK && pLeft->bEof==0 ){
150435 fts3EvalNextRow(pCsr, pLeft, pRc);
150444 Fts3Expr *pLeft = pExpr->pLeft;
150446 sqlite3_int64 iCmp = DOCID_CMP(pLeft->iDocid, pRight->iDocid);
150448 assert( pLeft->bStart || pLeft->iDocid==pRight->iDocid );
150449 assert( pRight->bStart || pLeft->iDocid==pRight->iDocid );
150451 if( pRight->bEof || (pLeft->bEof==0 && iCmp<0) ){
150452 fts3EvalNextRow(pCsr, pLeft, pRc);
150453 }else if( pLeft->bEof || (pRight->bEof==0 && iCmp>0) ){
150456 fts3EvalNextRow(pCsr, pLeft, pRc);
150460 pExpr->bEof = (pLeft->bEof && pRight->bEof);
150461 iCmp = DOCID_CMP(pLeft->iDocid, pRight->iDocid);
150462 if( pRight->bEof || (pLeft->bEof==0 && iCmp<0) ){
150463 pExpr->iDocid = pLeft->iDocid;
150472 Fts3Expr *pLeft = pExpr->pLeft;
150480 fts3EvalNextRow(pCsr, pLeft, pRc);
150481 if( pLeft->bEof==0 ){
150484 && DOCID_CMP(pLeft->iDocid, pRight->iDocid)>0
150489 pExpr->iDocid = pLeft->iDocid;
150490 pExpr->bEof = pLeft->bEof;
150553 for(p=pExpr; p->pLeft; p=p->pLeft){
150576 for(p=pExpr->pLeft; p && res; p=p->pLeft){
150579 assert( p->pParent && p->pParent->pLeft==p );
150617 fts3EvalTestExpr(pCsr, pExpr->pLeft, pRc)
150642 for(p=pExpr; p->pPhrase==0; p=p->pLeft){
150655 int bHit1 = fts3EvalTestExpr(pCsr, pExpr->pLeft, pRc);
150663 fts3EvalTestExpr(pCsr, pExpr->pLeft, pRc)
150818 fts3EvalRestart(pCsr, pExpr->pLeft, pRc);
150858 fts3EvalUpdateCounts(pExpr->pLeft);
150900 for(p=pRoot; p; p=p->pLeft){
151097 for(p=pNear; p; p=p->pLeft){
152360 pNew->pLeft = pSplit;
152412 pNot->pLeft = pNotBranch;
152419 isPhrase = (eType==FTSQUERY_PHRASE || p->pLeft);
152467 assert( pPrev && pPrev->pLeft && pPrev->pRight==0 );
152498 while( pIter->pLeft ){
152499 pIter = pIter->pLeft;
152501 pIter->pLeft = pRet;
152529 rc = fts3ExprCheckDepth(p->pLeft, nMaxDepth-1);
152574 for(p=pRoot; p->eType==eType; p=p->pLeft){
152575 assert( p->pParent==0 || p->pParent->pLeft==p );
152576 assert( p->pLeft && p->pRight );
152584 assert( pParent==0 || pParent->pLeft==p );
152587 pParent->pLeft = 0;
152600 pFree->pLeft = apLeaf[iLvl];
152602 pFree->pLeft->pParent = pFree;
152621 for(p=pParent->pRight; p->eType==eType; p=p->pLeft);
152624 assert( pParent->pParent==0 || pParent->pParent->pLeft==pParent );
152627 pParent->pParent->pLeft = pParent->pRight;
152649 pFree->pLeft = apLeaf[i];
152650 pFree->pLeft->pParent = pFree;
152678 Fts3Expr *pLeft = pRoot->pLeft;
152681 pRoot->pLeft = 0;
152683 pLeft->pParent = 0;
152686 rc = fts3ExprBalance(&pLeft, nMaxDepth-1);
152693 sqlite3Fts3ExprFree(pLeft);
152695 assert( pLeft && pRight );
152696 pRoot->pLeft = pLeft;
152697 pLeft->pParent = pRoot;
152847 for(p=pDel; p && (p->pLeft||p->pRight); p=(p->pLeft ? p->pLeft : p->pRight)){
152848 assert( p->pParent==0 || p==p->pParent->pRight || p==p->pParent->pLeft );
152853 if( pParent && p==pParent->pLeft && pParent->pRight ){
152855 while( p && (p->pLeft || p->pRight) ){
152856 assert( p==p->pParent->pRight || p==p->pParent->pLeft );
152857 p = (p->pLeft ? p->pLeft : p->pRight);
152946 if( zBuf ) zBuf = exprToString(pExpr->pLeft, zBuf);
161277 assert( pExpr->pLeft && pExpr->pRight );
161278 rc = fts3ExprIterate2(pExpr->pLeft, piPhrase, x, pCtx);
161918 assert( (pExpr->pLeft==0)==(pExpr->pRight==0) );
161920 if( pExpr->pLeft ){
161921 fts3ExprLHitGather(pExpr->pLeft, p);
165790 RtreeNode *pLeft,
165872 RtreeNode *pTarget = (ii<iBestSplit)?pLeft:pRight;
165917 RtreeNode *pLeft = 0;
165942 pLeft = nodeNew(pRtree, pNode);
165947 pLeft = pNode;
165948 pRight = nodeNew(pRtree, pLeft->pParent);
165949 nodeReference(pLeft);
165952 if( !pLeft || !pRight ){
165957 memset(pLeft->zData, 0, pRtree->iNodeSize);
165960 rc = splitNodeStartree(pRtree, aCell, nCell, pLeft, pRight,
165972 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
165978 leftbbox.iRowid = pLeft->iNode;
165981 rc = rtreeInsertCell(pRtree, pLeft->pParent, &leftbbox, iHeight+1);
165986 RtreeNode *pParent = pLeft->pParent;
165988 rc = nodeParentIndex(pRtree, pLeft, &iCell);
166012 for(i=0; i<NCELL(pLeft); i++){
166013 i64 iRowid = nodeGetRowid(pRtree, pLeft, i);
166014 rc = updateMapping(pRtree, iRowid, pLeft, iHeight);
166020 rc = updateMapping(pRtree, pCell->iRowid, pLeft, iHeight);
166028 rc = nodeRelease(pRtree, pLeft);
166029 pLeft = 0;
166034 nodeRelease(pRtree, pLeft);
178776 void *pLeft, /* Lhs input changeset */
178787 rc = sqlite3changegroup_add(pGrp, nLeft, pLeft);
182480 Fts5ExprNode *pLeft,
182487 Fts5ExprNode *pLeft,
186815 Fts5ExprPhrase *pLeft = pNear->apPhrase[0];
186832 if( pLeft->aTerm[0].pSynonym ){
186833 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
186835 iLast = pLeft->aTerm[0].pIter->iRowid;
187879 Fts5ExprNode *pLeft, /* Left hand child expression */
187890 || (eType==FTS5_STRING && !pLeft && !pRight)
187893 if( eType!=FTS5_STRING && pLeft==0 ) return pRight;
187894 if( eType!=FTS5_STRING && pRight==0 ) return pLeft;
187900 if( pLeft->eType==eType ) nChild += pLeft->nChild-1;
187936 fts5ExprAddChildren(pRet, pLeft);
187944 sqlite3Fts5ParseNodeFree(pLeft);
187953 Fts5ExprNode *pLeft, /* Left hand child expression */
187960 sqlite3Fts5ParseNodeFree(pLeft);
187964 assert( pLeft->eType==FTS5_STRING
187965 || pLeft->eType==FTS5_TERM
187966 || pLeft->eType==FTS5_EOF
187967 || pLeft->eType==FTS5_AND
187974 if( pLeft->eType==FTS5_AND ){
187975 pPrev = pLeft->apChild[pLeft->nChild-1];
187977 pPrev = pLeft;
187987 pRet = pLeft;
187993 if( pPrev==pLeft ){
187996 pLeft->apChild[pLeft->nChild-1] = pRight;
187997 pRet = pLeft;
188008 pRet = sqlite3Fts5ParseNode(pParse, FTS5_AND, pLeft, pRight, 0);
189017 Fts5HashEntry *pLeft,
189020 Fts5HashEntry *p1 = pLeft;
189756 Fts5Buffer *pLeft, /* Left hand side of comparison */
189759 int nCmp = MIN(pLeft->n, nRight);
189760 int res = memcmp(pLeft->p, pRight, nCmp);
189761 return (res==0 ? (pLeft->n - nRight) : res);
189774 static int fts5BufferCompare(Fts5Buffer *pLeft, Fts5Buffer *pRight){
189775 int nCmp = MIN(pLeft->n, pRight->n);
189776 int res = memcmp(pLeft->p, pRight->p, nCmp);
189777 return (res==0 ? (pLeft->n - pRight->n) : res);