Home
last modified time | relevance | path

Searched refs:pRight (Results 1 – 25 of 31) sorted by relevance

12

/sqlite-3.40.0/src/
H A Drowset.c220 pEntry->pRight = 0; in sqlite3RowSetInsert()
251 assert( pA->pRight==0 || pA->v<=pA->pRight->v ); in rowSetEntryMerge()
252 assert( pB->pRight==0 || pB->v<=pB->pRight->v ); in rowSetEntryMerge()
255 pA = pA->pRight; in rowSetEntryMerge()
262 pB = pB->pRight; in rowSetEntryMerge()
269 return head.pRight; in rowSetEntryMerge()
283 pIn->pRight = 0; in rowSetEntrySort()
314 p->pRight = pIn; in rowSetTreeToList()
318 if( pIn->pRight ){ in rowSetTreeToList()
319 rowSetTreeToList(pIn->pRight, &pIn->pRight, ppLast); in rowSetTreeToList()
[all …]
H A Dwhereexpr.c201 op = pRight->op; in isLikeOrGlob()
210 assert( pRight->op==TK_VARIABLE || pRight->op==TK_REGISTER ); in isLikeOrGlob()
435 Expr *pRight = pExpr->pRight; in isAuxiliaryVtabOperator() local
440 assert( pRight==0 || pRight->op!=TK_COLUMN in isAuxiliaryVtabOperator()
441 || (ExprUseYTab(pRight) && pRight->y.pTab!=0) ); in isAuxiliaryVtabOperator()
442 if( pRight && ExprIsVtab(pRight) ){ in isAuxiliaryVtabOperator()
447 *ppRight = pRight; in isAuxiliaryVtabOperator()
532 if( sqlite3ExprCompare(0,pOne->pExpr->pRight, pTwo->pExpr->pRight,-1) )return; in whereCombineDisjuncts()
1142 Expr *pRight = sqlite3ExprSkipCollate(pExpr->pRight); in exprAnalyze() local
1159 if( pRight in exprAnalyze()
[all …]
H A Dexpr.c351 }else if( pRight && (pRight->flags & EP_Collate)!=0 ){ in sqlite3BinaryCompareCollSeq()
623 Expr *pRight = pExpr->pRight; in codeVectorCompare() local
769 if( NEVER(p->pRight) && p->pRight->nHeight>nHeight ){ in exprSetHeight()
907 Expr *pRight in sqlite3ExprAttachSubtrees() argument
916 if( pRight ){ in sqlite3ExprAttachSubtrees()
917 pRoot->pRight = pRight; in sqlite3ExprAttachSubtrees()
1491 pNew->pRight = p->pRight ? in exprDup()
1507 assert( p->pRight==0 || p->pRight==p->pLeft in exprDup()
1512 pNew->pRight = sqlite3ExprDup(db, p->pRight, 0); in exprDup()
2141 Expr *pRight = sqlite3ExprSimplifiedAndOr(pExpr->pRight); in sqlite3ExprSimplifiedAndOr() local
[all …]
H A Dresolve.c680 pExpr->pRight = 0; in lookupName()
712 pExpr->pRight = 0; in lookupName()
951 Expr *pRight; in resolveExprStep() local
964 pRight = pExpr->pRight; in resolveExprStep()
965 if( pRight->op==TK_ID ){ in resolveExprStep()
971 pLeft = pRight->pLeft; in resolveExprStep()
972 pRight = pRight->pRight; in resolveExprStep()
976 zColumn = pRight->u.zToken; in resolveExprStep()
1246 Expr *pRight = sqlite3ExprSkipCollateAndLikely(pExpr->pRight); in resolveExprStep() local
1250 if( ALWAYS(pRight) && (pRight->op==TK_ID || pRight->op==TK_TRUEFALSE) ){ in resolveExprStep()
[all …]
H A Dwherecode.c850 Expr *pRight = pTerm->pExpr->pRight; in codeAllEqualityTerms() local
1236 pTruth = pTruth->pRight; in whereApplyPartialIndexConstraints()
1435 Expr *pRight = pTerm->pExpr->pRight; in sqlite3WhereCodeOneLoopStart() local
1510 pCompare->pRight = pRight = sqlite3Expr(db, TK_REGISTER, 0); in sqlite3WhereCodeOneLoopStart()
1511 if( pRight ){ in sqlite3WhereCodeOneLoopStart()
1512 pRight->iTable = iReg+j+2; in sqlite3WhereCodeOneLoopStart()
1843 Expr *pRight = pRangeStart->pExpr->pRight; in sqlite3WhereCodeOneLoopStart() local
1847 && sqlite3ExprCanBeNull(pRight) in sqlite3WhereCodeOneLoopStart()
1857 if( sqlite3ExprIsVector(pRight)==0 ){ in sqlite3WhereCodeOneLoopStart()
1944 Expr *pRight = pRangeEnd->pExpr->pRight; in sqlite3WhereCodeOneLoopStart() local
[all …]
H A Dselect.c424 p = p->pRight; in sqlite3SetJoinExpr()
461 p = p->pRight; in unsetJoinExpr()
494 pRight = &pLeft[1]; in sqlite3ProcessJoin()
507 if( pRight->fg.isUsing || pRight->u3.pOn ){ in sqlite3ProcessJoin()
618 sqlite3SetJoinExpr(pRight->u3.pOn, pRight->iCursor, joinType); in sqlite3ProcessJoin()
620 pRight->u3.pOn = 0; in sqlite3ProcessJoin()
3858 pExpr->pRight = substExpr(pSubst, pExpr->pRight); in substExpr()
4740 Expr *pRight, *pLeft; in findConstInWhere() local
4753 pRight = pExpr->pRight; in findConstInWhere()
4755 assert( pRight!=0 ); in findConstInWhere()
[all …]
H A Dwalker.c72 assert( pExpr->x.pList==0 || pExpr->pRight==0 ); in walkExpr()
74 if( pExpr->pRight ){ in walkExpr()
76 pExpr = pExpr->pRight; in walkExpr()
H A Dfkey.c585 Expr *pRight; /* Column ref to child table */ in fkScanChildren() local
595 pRight = sqlite3Expr(db, TK_ID, zCol); in fkScanChildren()
596 pEq = sqlite3PExpr(pParse, TK_EQ, pLeft, pRight); in fkScanChildren()
617 Expr *pRight; /* Column ref to child table */ in fkScanChildren() local
620 pRight = exprTableColumn(db, pTab, pSrc->a[0].iCursor, -1); in fkScanChildren()
621 pNe = sqlite3PExpr(pParse, TK_NE, pLeft, pRight); in fkScanChildren()
629 pRight = sqlite3Expr(db, TK_ID, pTab->aCol[iCol].zCnName); in fkScanChildren()
630 pEq = sqlite3PExpr(pParse, TK_IS, pLeft, pRight); in fkScanChildren()
H A Dtreeview.c338 sqlite3TreeViewExpr(pView, p->pLimit->pLeft, p->pLimit->pRight!=0); in sqlite3TreeViewSelect()
339 if( p->pLimit->pRight ){ in sqlite3TreeViewSelect()
341 sqlite3TreeViewExpr(pView, p->pLimit->pRight, 0); in sqlite3TreeViewSelect()
635 assert( pExpr->pRight ); in sqlite3TreeViewExpr()
636 assert( sqlite3ExprSkipCollate(pExpr->pRight)->op==TK_TRUEFALSE ); in sqlite3TreeViewExpr()
637 x = (pExpr->op2==TK_ISNOT)*2 + sqlite3ExprTruthValue(pExpr->pRight); in sqlite3TreeViewExpr()
804 sqlite3TreeViewExpr(pView, pExpr->pRight, 0); in sqlite3TreeViewExpr()
817 pExpr->pRight==pExpr->pLeft ? " (SELECT-owner)" : ""); in sqlite3TreeViewExpr()
852 sqlite3TreeViewExpr(pView, pExpr->pRight, 0); in sqlite3TreeViewExpr()
H A Dparse.y620 Select *pRight, *pLeft = A;
621 pRight = sqlite3SelectNew(pParse,Y,0,0,0,0,0,SF_Values|SF_MultiValue,0);
623 if( pRight ){
624 pRight->op = TK_ALL;
625 pRight->pPrior = pLeft;
626 A = pRight;
661 Expr *pRight = sqlite3PExpr(pParse, TK_ASTERISK, 0, 0);
663 Expr *pDot = sqlite3PExpr(pParse, TK_DOT, pLeft, pRight);
1059 p->pLeft = p->pRight = 0;
1223 sqlite3ExprDelete(db, pA->pRight);
[all …]
H A Dwhere.c298 p = sqlite3ExprSkipCollateAndLikely(p->pRight); in whereRightSubexprIsColumn()
369 && (pX = pTerm->pExpr->pRight, ALWAYS(pX!=0)) in whereScanNext()
1331 && sqlite3ExprIsVector(pTerm->pExpr->pRight) in allocateIndexInfo()
1877 Expr *pExpr = pLower->pExpr->pRight; in whereRangeScanEst()
1894 Expr *pExpr = pUpper->pExpr->pRight; in whereRangeScanEst()
2672 Expr *pRight = pTerm->pExpr->pRight; in whereLoopOutputAdjust() local
2675 if( sqlite3ExprIsInteger(pRight, &k) && k>=(-1) && k<=1 ){ in whereLoopOutputAdjust()
2731 pRhs = pTerm->pExpr->pRight; in whereRangeVectorLen()
3043 rc = whereEqualScanEst(pParse, pBuilder, pExpr->pRight, &nOut); in whereLoopAddBtreeIndex()
3233 pWhere = pWhere->pRight; in whereUsablePartialIndex()
[all …]
/sqlite-3.40.0/ext/fts3/
H A Dfts3_expr.c647 pNot->pRight = p; in fts3ExprParse()
706 pPrev->pRight = p; in fts3ExprParse()
839 pFree->pRight = p; in fts3ExprBalance()
886 pFree->pRight = p; in fts3ExprBalance()
917 Fts3Expr *pRight = pRoot->pRight; in fts3ExprBalance() local
920 pRoot->pRight = 0; in fts3ExprBalance()
922 pRight->pParent = 0; in fts3ExprBalance()
936 pRoot->pRight = pRight; in fts3ExprBalance()
937 pRight->pParent = pRoot; in fts3ExprBalance()
1085 for(p=pDel; p && (p->pLeft||p->pRight); p=(p->pLeft ? p->pLeft : p->pRight)){ in sqlite3Fts3ExprFree()
[all …]
H A Dfts3.c4232 char *pRight; in fts3EvalPhraseMergeToken() local
4240 pRight = pList; in fts3EvalPhraseMergeToken()
4244 pRight = p->doclist.aAll; in fts3EvalPhraseMergeToken()
4255 p->doclist.aAll = pRight; in fts3EvalPhraseMergeToken()
4915 pRoot = pExpr->pRight; in fts3EvalTokenCosts()
5299 Fts3Expr *pRight = pExpr->pRight; in fts3EvalNextRow() local
5353 Fts3Expr *pRight = pExpr->pRight; in fts3EvalNextRow() local
5357 assert_fts3_nc( pRight->bStart || pLeft->iDocid==pRight->iDocid ); in fts3EvalNextRow()
5381 Fts3Expr *pRight = pExpr->pRight; in fts3EvalNextRow() local
5383 if( pRight->bStart==0 ){ in fts3EvalNextRow()
[all …]
H A Dfts3_snippet.c259 assert( pExpr->pLeft && pExpr->pRight ); in fts3ExprIterate2()
262 rc = fts3ExprIterate2(pExpr->pRight, piPhrase, x, pCtx); in fts3ExprIterate2()
907 assert( (pExpr->pLeft==0)==(pExpr->pRight==0) ); in fts3ExprLHitGather()
911 if( rc==SQLITE_OK ) rc = fts3ExprLHitGather(pExpr->pRight, p); in fts3ExprLHitGather()
H A Dfts3Int.h462 Fts3Expr *pRight; /* Right operand */ member
H A Dfts3_write.c219 SegmentNode *pRight; /* Pointer to right-sibling */ member
2121 pTree->pRight = pNew; in fts3NodeAddTerm()
2187 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){ in fts3NodeWrite()
2214 SegmentNode *pRight = p->pRight; in fts3NodeFree() local
2218 assert( pRight==0 || p->zMalloc==0 ); in fts3NodeFree()
2221 p = pRight; in fts3NodeFree()
/sqlite-3.40.0/ext/rtree/
H A Dgeopoly.c963 while( pRight && pLeft ){ in geopolyEventMerge()
964 if( pRight->x <= pLeft->x ){ in geopolyEventMerge()
965 pLast->pNext = pRight; in geopolyEventMerge()
966 pLast = pRight; in geopolyEventMerge()
967 pRight = pRight->pNext; in geopolyEventMerge()
974 pLast->pNext = pRight ? pRight : pLeft; in geopolyEventMerge()
1010 while( pRight && pLeft ){ in geopolySegmentMerge()
1014 pLast->pNext = pRight; in geopolySegmentMerge()
1015 pLast = pRight; in geopolySegmentMerge()
1016 pRight = pRight->pNext; in geopolySegmentMerge()
[all …]
H A Drtree.c2462 RtreeNode *pRight, in splitNodeStartree() argument
2594 RtreeNode *pRight = 0; in SplitNode() local
2617 pRight = nodeNew(pRtree, pNode); in SplitNode()
2624 pRight = nodeNew(pRtree, pLeft->pParent); in SplitNode()
2628 if( !pLeft || !pRight ){ in SplitNode()
2634 memset(pRight->zData, 0, pRtree->iNodeSize); in SplitNode()
2653 rightbbox.iRowid = pRight->iNode; in SplitNode()
2678 for(i=0; i<NCELL(pRight); i++){ in SplitNode()
2701 rc = nodeRelease(pRtree, pRight); in SplitNode()
2702 pRight = 0; in SplitNode()
[all …]
/sqlite-3.40.0/ext/fts1/
H A Dfts1.c739 readerInit(&right, pRight); in docListPhraseMerge()
773 readerInit(&right, pRight); in docListAndMerge()
805 readerInit(&right, pRight); in docListOrMerge()
850 readerInit(&right, pRight); in docListExceptMerge()
2612 docListDelete(pRight); in docListOfTerm()
2785 DocList *pRight, *pNew, *pOr; in fulltextQuery() local
2816 docListDelete(pRight); in fulltextQuery()
2818 pRight = pNew; in fulltextQuery()
2821 pLeft = pRight; in fulltextQuery()
2825 docListDelete(pRight); in fulltextQuery()
[all …]
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_tree.c913 pRight = newTreeNode(pDb, &iRight, &rc); in treeInsert()
921 pRight->aiKeyPtr[1] = pNode->aiKeyPtr[2]; in treeInsert()
944 assert( pRight->iV2==0 ); in treeInsert()
957 pRight->aiKeyPtr[0] = iTreeKey; in treeInsert()
958 pRight->aiChildPtr[0] = iLeftPtr; in treeInsert()
962 pRight->aiChildPtr[3] = (iRightPtr ? iRightPtr : pRight->aiChildPtr[2]); in treeInsert()
963 pRight->aiKeyPtr[2] = iTreeKey; in treeInsert()
964 pRight->aiChildPtr[2] = iLeftPtr; in treeInsert()
1037 TreeLeaf *pRight; in treeInsertLeaf() local
1039 pRight = newTreeLeaf(pDb, &iRight, &rc); in treeInsertLeaf()
[all …]
/sqlite-3.40.0/ext/fts5/
H A Dfts5_expr.c2301 if( pRight->eType==eType ) nChild += pRight->nChild-1; in sqlite3Fts5ParseNode()
2337 fts5ExprAddChildren(pRet, pRight); in sqlite3Fts5ParseNode()
2346 sqlite3Fts5ParseNodeFree(pRight); in sqlite3Fts5ParseNode()
2362 sqlite3Fts5ParseNodeFree(pRight); in sqlite3Fts5ParseImplicitAnd()
2370 assert( pRight->eType==FTS5_STRING in sqlite3Fts5ParseImplicitAnd()
2371 || pRight->eType==FTS5_TERM in sqlite3Fts5ParseImplicitAnd()
2372 || pRight->eType==FTS5_EOF in sqlite3Fts5ParseImplicitAnd()
2385 if( pRight->eType==FTS5_EOF ){ in sqlite3Fts5ParseImplicitAnd()
2387 sqlite3Fts5ParseNodeFree(pRight); in sqlite3Fts5ParseImplicitAnd()
2395 pRet = pRight; in sqlite3Fts5ParseImplicitAnd()
[all …]
H A Dfts5Int.h764 Fts5ExprNode *pRight,
771 Fts5ExprNode *pRight
H A Dfts5_hash.c396 Fts5HashEntry *pRight in fts5HashEntryMerge() argument
399 Fts5HashEntry *p2 = pRight; in fts5HashEntryMerge()
/sqlite-3.40.0/ext/fts2/
H A Dfts2.c1286 assert( pLeft->iType==pRight->iType ); in posListCmp()
1290 if( plrAtEnd(pRight) ) return -1; in posListCmp()
1318 assert( pLeft->iType==pRight->iType ); in posListUnion()
1322 plrInit(&right, pRight); in posListUnion()
1352 const char *pRight, int nRight, in docListUnion() argument
1418 plrInit(&right, pRight); in posListPhraseMerge()
1460 const char *pRight, int nRight, in docListPhraseMerge() argument
1498 const char *pRight, int nRight, in docListAndMerge() argument
1507 dlrInit(&right, DL_DOCIDS, pRight, nRight); in docListAndMerge()
1533 const char *pRight, int nRight, in docListOrMerge() argument
[all …]
/sqlite-3.40.0/test/
H A Dtkt1443.test24 # Expr.pRight field rather than Expr.pList and Expr.pSelect.

12