Home
last modified time | relevance | path

Searched refs:pLhs (Results 1 – 7 of 7) sorted by relevance

/sqlite-3.40.0/src/
H A Ddelete.c186 Expr *pLhs = NULL; /* LHS of IN(SELECT...) operator */ in sqlite3LimitWhere() local
220 pLhs = sqlite3PExpr(pParse, TK_ROW, 0, 0); in sqlite3LimitWhere()
228 pLhs = sqlite3Expr(db, TK_ID, zName); in sqlite3LimitWhere()
236 pLhs = sqlite3PExpr(pParse, TK_VECTOR, 0, 0); in sqlite3LimitWhere()
237 if( pLhs ){ in sqlite3LimitWhere()
238 pLhs->x.pList = sqlite3ExprListDup(db, pEList, 0); in sqlite3LimitWhere()
263 pInClause = sqlite3PExpr(pParse, TK_IN, pLhs, 0); in sqlite3LimitWhere()
H A Dwherecode.c483 ExprList *pLhs = 0; /* New LHS after mods */ in removeUnindexableInClauseTerms() local
501 pLhs = sqlite3ExprListAppend(pParse, pLhs, pOrigLhs->a[iField].pExpr); in removeUnindexableInClauseTerms()
507 pNew->pLeft->x.pList = pLhs; in removeUnindexableInClauseTerms()
509 if( pLhs && pLhs->nExpr==1 ){ in removeUnindexableInClauseTerms()
513 Expr *p = pLhs->a[0].pExpr; in removeUnindexableInClauseTerms()
514 pLhs->a[0].pExpr = 0; in removeUnindexableInClauseTerms()
H A Dparse.y567 Select *pLhs = A;
578 pRhs->pPrior = pLhs;
579 if( ALWAYS(pLhs) ) pLhs->selFlags &= ~SF_MultiValue;
583 sqlite3SelectDelete(pParse->db, pLhs);
H A Dwhere.c2727 Expr *pLhs, *pRhs; in whereRangeVectorLen() local
2730 pLhs = pTerm->pExpr->pLeft->x.pList->a[i].pExpr; in whereRangeVectorLen()
2742 if( pLhs->op!=TK_COLUMN in whereRangeVectorLen()
2743 || pLhs->iTable!=iCur in whereRangeVectorLen()
2744 || pLhs->iColumn!=pIdx->aiColumn[i+nEq] in whereRangeVectorLen()
2750 testcase( pLhs->iColumn==XN_ROWID ); in whereRangeVectorLen()
2751 aff = sqlite3CompareAffinity(pRhs, sqlite3ExprAffinity(pLhs)); in whereRangeVectorLen()
2752 idxaff = sqlite3TableColumnAffinity(pIdx->pTable, pLhs->iColumn); in whereRangeVectorLen()
2755 pColl = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); in whereRangeVectorLen()
H A Dexpr.c2816 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i); in sqlite3FindInIndex() local
2819 char cmpaff = sqlite3CompareAffinity(pLhs, idxaff); in sqlite3FindInIndex()
2859 Expr *pLhs = sqlite3VectorFieldSubexpr(pX->pLeft, i); in sqlite3FindInIndex() local
2861 CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); in sqlite3FindInIndex()
/sqlite-3.40.0/ext/fts3/
H A Dfts3_write.c1802 if( pLhs->aNode && pRhs->aNode ){ in fts3SegReaderCmp()
1803 int rc2 = pLhs->nTerm - pRhs->nTerm; in fts3SegReaderCmp()
1805 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pLhs->nTerm); in fts3SegReaderCmp()
1813 rc = (pLhs->aNode==0) - (pRhs->aNode==0); in fts3SegReaderCmp()
1816 rc = pRhs->iIdx - pLhs->iIdx; in fts3SegReaderCmp()
1836 if( pLhs->iDocid==pRhs->iDocid ){ in fts3SegReaderDoclistCmp()
1837 rc = pRhs->iIdx - pLhs->iIdx; in fts3SegReaderDoclistCmp()
1842 assert( pLhs->aNode && pRhs->aNode ); in fts3SegReaderDoclistCmp()
1848 if( pLhs->iDocid==pRhs->iDocid ){ in fts3SegReaderDoclistCmpRev()
1849 rc = pRhs->iIdx - pLhs->iIdx; in fts3SegReaderDoclistCmpRev()
[all …]
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_sorted.c2194 SegmentPtr *pLhs = &pCsr->aPtr[iPtr - 1 - (pPtr->pSeg - pLvl->aRhs)]; in segmentCursorAdvance() local
2196 if( pLhs[i+1].pPg ) break; in segmentCursorAdvance()
2200 rc = segmentPtrEnd(pCsr, pLhs, 1); in segmentCursorAdvance()