Lines Matching defs:pLHS
92786 Expr *pLHS;
92789 pLHS = pIn->pLeft;
92792 pIn->pLeft = pLHS;
92951 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i);
92954 char cmpaff = sqlite3CompareAffinity(pLhs, idxaff);
92993 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i);
92995 CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs);
126783 ExprList *pLhs = 0; /* New pX->pLeft vector */
126792 pLhs = sqlite3ExprListAppend(pParse, pLhs, pNewLhs);
126815 if( pLhs->nExpr==1 ){
126816 pX->pLeft = pLhs->a[0].pExpr;
126818 pLeft->x.pList = pLhs;
126831 sqlite3ExprListDelete(pParse->db, pLhs);
132090 Expr *pLhs = pTerm->pExpr->pLeft->x.pList->a[i].pExpr;
132102 if( pLhs->op!=TK_COLUMN
132103 || pLhs->iTable!=iCur
132104 || pLhs->iColumn!=pIdx->aiColumn[i+nEq]
132110 testcase( pLhs->iColumn==XN_ROWID );
132111 aff = sqlite3CompareAffinity(pRhs, sqlite3ExprAffinity(pLhs));
132112 idxaff = sqlite3TableColumnAffinity(pIdx->pTable, pLhs->iColumn);
132115 pColl = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs);
137405 Select *pLhs = yymsp[-2].minor.yy243;
137416 pRhs->pPrior = pLhs;
137417 if( ALWAYS(pLhs) ) pLhs->selFlags &= ~SF_MultiValue;
137421 sqlite3SelectDelete(pParse->db, pLhs);
157100 static int fts3SegReaderCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
157102 if( pLhs->aNode && pRhs->aNode ){
157103 int rc2 = pLhs->nTerm - pRhs->nTerm;
157105 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pLhs->nTerm);
157107 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pRhs->nTerm);
157113 rc = (pLhs->aNode==0) - (pRhs->aNode==0);
157116 rc = pRhs->iIdx - pLhs->iIdx;
157133 static int fts3SegReaderDoclistCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
157134 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
157136 if( pLhs->iDocid==pRhs->iDocid ){
157137 rc = pRhs->iIdx - pLhs->iIdx;
157139 rc = (pLhs->iDocid > pRhs->iDocid) ? 1 : -1;
157142 assert( pLhs->aNode && pRhs->aNode );
157145 static int fts3SegReaderDoclistCmpRev(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
157146 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
157148 if( pLhs->iDocid==pRhs->iDocid ){
157149 rc = pRhs->iIdx - pLhs->iIdx;
157151 rc = (pLhs->iDocid < pRhs->iDocid) ? 1 : -1;
157154 assert( pLhs->aNode && pRhs->aNode );