Searched refs:pRhs (Results 1 – 9 of 9) sorted by relevance
| /sqlite-3.40.0/src/ |
| H A D | vdbeaux.c | 4557 pRhs++; in sqlite3VdbeRecordCompareWithSkip() 4583 testcase( pRhs->flags & MEM_Int ); in sqlite3VdbeRecordCompareWithSkip() 4596 i64 rhs = pRhs->u.i; in sqlite3VdbeRecordCompareWithSkip() 4606 else if( pRhs->flags & MEM_Real ){ in sqlite3VdbeRecordCompareWithSkip() 4619 if( mem1.u.r<pRhs->u.r ){ in sqlite3VdbeRecordCompareWithSkip() 4631 else if( pRhs->flags & MEM_Str ){ in sqlite3VdbeRecordCompareWithSkip() 4664 else if( pRhs->flags & MEM_Blob ){ in sqlite3VdbeRecordCompareWithSkip() 4665 assert( (pRhs->flags & MEM_Zero)==0 || pRhs->n==0 ); in sqlite3VdbeRecordCompareWithSkip() 4681 rc = nStr - pRhs->u.nZero; in sqlite3VdbeRecordCompareWithSkip() 4684 int nCmp = MIN(nStr, pRhs->n); in sqlite3VdbeRecordCompareWithSkip() [all …]
|
| H A D | vdbeapi.c | 891 ValueList *pRhs; in valueFromValueList() local 895 pRhs = (ValueList*)sqlite3_value_pointer(pVal, "ValueList"); in valueFromValueList() 896 if( pRhs==0 ) return SQLITE_MISUSE; in valueFromValueList() 898 rc = sqlite3BtreeNext(pRhs->pCsr, 0); in valueFromValueList() 901 rc = sqlite3BtreeFirst(pRhs->pCsr, &dummy); in valueFromValueList() 902 assert( rc==SQLITE_OK || sqlite3BtreeEof(pRhs->pCsr) ); in valueFromValueList() 903 if( sqlite3BtreeEof(pRhs->pCsr) ) rc = SQLITE_DONE; in valueFromValueList() 909 sz = sqlite3BtreePayloadSize(pRhs->pCsr); in valueFromValueList() 910 rc = sqlite3VdbeMemFromBtreeZeroOffset(pRhs->pCsr,(int)sz,&sMem); in valueFromValueList() 914 sqlite3_value *pOut = pRhs->pOut; in valueFromValueList()
|
| H A D | parse.y | 566 Select *pRhs = Z; 568 if( pRhs && pRhs->pPrior ){ 572 parserDoubleLinkSelect(pParse, pRhs); 573 pFrom = sqlite3SrcListAppendFromTerm(pParse,0,0,0,&x,pRhs,0); 574 pRhs = sqlite3SelectNew(pParse,0,pFrom,0,0,0,0,0,0); 576 if( pRhs ){ 577 pRhs->op = (u8)Y; 578 pRhs->pPrior = pLhs; 580 pRhs->selFlags &= ~SF_MultiValue; 585 A = pRhs;
|
| H A D | whereexpr.c | 1824 Expr *pRhs; in sqlite3WhereTabFuncArgs() local 1839 pRhs = sqlite3PExpr(pParse, TK_UPLUS, in sqlite3WhereTabFuncArgs() 1841 pTerm = sqlite3PExpr(pParse, TK_EQ, pColRef, pRhs); in sqlite3WhereTabFuncArgs()
|
| H A D | wherecode.c | 482 ExprList *pRhs = 0; /* New RHS after modifications */ in removeUnindexableInClauseTerms() local 498 pRhs = sqlite3ExprListAppend(pParse, pRhs, pOrigRhs->a[iField].pExpr); in removeUnindexableInClauseTerms() 508 pNew->x.pSelect->pEList = pRhs; in removeUnindexableInClauseTerms()
|
| H A D | where.c | 2727 Expr *pLhs, *pRhs; in whereRangeVectorLen() local 2731 pRhs = pTerm->pExpr->pRight; in whereRangeVectorLen() 2732 if( ExprUseXSelect(pRhs) ){ in whereRangeVectorLen() 2733 pRhs = pRhs->x.pSelect->pEList->a[i].pExpr; in whereRangeVectorLen() 2735 pRhs = pRhs->x.pList->a[i].pExpr; in whereRangeVectorLen() 2751 aff = sqlite3CompareAffinity(pRhs, sqlite3ExprAffinity(pLhs)); in whereRangeVectorLen() 2755 pColl = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); in whereRangeVectorLen()
|
| H A D | vdbe.c | 8009 ValueList *pRhs; /* New ValueList object to put in reg[P2] */ in sqlite3VdbeExec() local 8012 pRhs = sqlite3_malloc64( sizeof(*pRhs) ); in sqlite3VdbeExec() 8013 if( pRhs==0 ) goto no_mem; in sqlite3VdbeExec() 8014 pRhs->pCsr = pC->uc.pCursor; in sqlite3VdbeExec() 8015 pRhs->pOut = &aMem[pOp->p3]; in sqlite3VdbeExec() 8018 sqlite3VdbeMemSetPointer(pOut, pRhs, "ValueList", sqlite3_free); in sqlite3VdbeExec()
|
| H A D | expr.c | 2860 Expr *pRhs = pEList->a[i].pExpr; in sqlite3FindInIndex() local 2861 CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); in sqlite3FindInIndex() 2864 assert( pReq!=0 || pRhs->iColumn==XN_ROWID || pParse->nErr ); in sqlite3FindInIndex() 2866 if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue; in sqlite3FindInIndex()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_write.c | 1802 if( pLhs->aNode && pRhs->aNode ){ in fts3SegReaderCmp() 1803 int rc2 = pLhs->nTerm - pRhs->nTerm; in fts3SegReaderCmp() 1807 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pRhs->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 …]
|