Lines Matching defs:pLhs

108629         Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i);
108632 char cmpaff = sqlite3CompareAffinity(pLhs, idxaff);
108672 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i);
108674 CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs);
123883 Expr *pLhs = NULL; /* LHS of IN(SELECT...) operator */
123917 pLhs = sqlite3PExpr(pParse, TK_ROW, 0, 0);
123925 pLhs = sqlite3Expr(db, TK_ID, zName);
123933 pLhs = sqlite3PExpr(pParse, TK_VECTOR, 0, 0);
123934 if( pLhs ){
123935 pLhs->x.pList = sqlite3ExprListDup(db, pEList, 0);
123960 pInClause = sqlite3PExpr(pParse, TK_IN, pLhs, 0);
152409 ExprList *pLhs = 0; /* New LHS after mods */
152427 pLhs = sqlite3ExprListAppend(pParse, pLhs, pOrigLhs->a[iField].pExpr);
152433 pNew->pLeft->x.pList = pLhs;
152435 if( pLhs && pLhs->nExpr==1 ){
152439 Expr *p = pLhs->a[0].pExpr;
152440 pLhs->a[0].pExpr = 0;
159277 Expr *pLhs, *pRhs;
159280 pLhs = pTerm->pExpr->pLeft->x.pList->a[i].pExpr;
159292 if( pLhs->op!=TK_COLUMN
159293 || pLhs->iTable!=iCur
159294 || pLhs->iColumn!=pIdx->aiColumn[i+nEq]
159300 testcase( pLhs->iColumn==XN_ROWID );
159301 aff = sqlite3CompareAffinity(pRhs, sqlite3ExprAffinity(pLhs));
159302 idxaff = sqlite3TableColumnAffinity(pIdx->pTable, pLhs->iColumn);
159305 pColl = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs);
170140 Select *pLhs = yymsp[-2].minor.yy47;
170151 pRhs->pPrior = pLhs;
170152 if( ALWAYS(pLhs) ) pLhs->selFlags &= ~SF_MultiValue;
170156 sqlite3SelectDelete(pParse->db, pLhs);
191687 static int fts3SegReaderCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
191689 if( pLhs->aNode && pRhs->aNode ){
191690 int rc2 = pLhs->nTerm - pRhs->nTerm;
191692 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pLhs->nTerm);
191694 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pRhs->nTerm);
191700 rc = (pLhs->aNode==0) - (pRhs->aNode==0);
191703 rc = pRhs->iIdx - pLhs->iIdx;
191720 static int fts3SegReaderDoclistCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
191721 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
191723 if( pLhs->iDocid==pRhs->iDocid ){
191724 rc = pRhs->iIdx - pLhs->iIdx;
191726 rc = (pLhs->iDocid > pRhs->iDocid) ? 1 : -1;
191729 assert( pLhs->aNode && pRhs->aNode );
191732 static int fts3SegReaderDoclistCmpRev(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
191733 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
191735 if( pLhs->iDocid==pRhs->iDocid ){
191736 rc = pRhs->iIdx - pLhs->iIdx;
191738 rc = (pLhs->iDocid < pRhs->iDocid) ? 1 : -1;
191741 assert( pLhs->aNode && pRhs->aNode );