Home
last modified time | relevance | path

Searched refs:nHeight (Results 1 – 9 of 9) sorted by relevance

/sqlite-3.40.0/ext/lsm1/
H A Dlsm_tree.c398 if( nHeight>1 ){ in assert_node_looks_ok()
501 if( nHeight==0 ){ in dump_node_contents()
934 pDb->treehdr.root.nHeight++; in treeInsert()
1233 db->treehdr.root.nHeight--; in treeRepairPtrs()
1248 db->treehdr.root.nHeight++; in treeRepairPtrs()
1531 assert( p->nHeight==0 ); in treeInsertEntry()
1533 p->nHeight = 1; in treeInsertEntry()
1603 bLeaf = ((u32)pCsr->iNode==(p->nHeight-1) && p->nHeight>1); in treeDeleteEntry()
1649 db->treehdr.root.nHeight--; in treeDeleteEntry()
2309 pMark->nHeight = pDb->treehdr.root.nHeight; in lsmTreeMark()
[all …]
H A DlsmInt.h237 u32 nHeight; /* Current height of tree structure */ member
280 u32 nHeight; member
/sqlite-3.40.0/src/
H A Dresolve.c1989 w.pParse->nHeight += pExpr->nHeight; in sqlite3ResolveExprNames()
1990 if( sqlite3ExprCheckHeight(w.pParse, w.pParse->nHeight) ){ in sqlite3ResolveExprNames()
1996 w.pParse->nHeight -= pExpr->nHeight; in sqlite3ResolveExprNames()
2031 w.pParse->nHeight += pExpr->nHeight; in sqlite3ResolveExprListNames()
2032 if( sqlite3ExprCheckHeight(w.pParse, w.pParse->nHeight) ){ in sqlite3ResolveExprListNames()
2038 w.pParse->nHeight -= pExpr->nHeight; in sqlite3ResolveExprListNames()
H A Dexpr.c712 if( nHeight>mxHeight ){ in sqlite3ExprCheckHeight()
768 int nHeight = p->pLeft ? p->pLeft->nHeight : 0; in exprSetHeight() local
769 if( NEVER(p->pRight) && p->pRight->nHeight>nHeight ){ in exprSetHeight()
770 nHeight = p->pRight->nHeight; in exprSetHeight()
778 p->nHeight = nHeight + 1; in exprSetHeight()
800 int nHeight = 0; in sqlite3SelectExprHeight() local
802 return nHeight; in sqlite3SelectExprHeight()
876 pNew->nHeight = 1; in sqlite3ExprAlloc()
920 pRoot->nHeight = pRight->nHeight+1; in sqlite3ExprAttachSubtrees()
929 if( pLeft->nHeight>=pRoot->nHeight ){ in sqlite3ExprAttachSubtrees()
[all …]
H A DsqliteInt.h2860 int nHeight; /* Height of the tree headed by this node */ member
3714 int nHeight; /* Expression tree height of current sub-select */ member
H A Dparse.y1074 p->nHeight = 1;
H A Dselect.c6993 pParse->nHeight += sqlite3SelectExprHeight(p); in sqlite3Select()
7113 pParse->nHeight -= sqlite3SelectExprHeight(p); in sqlite3Select()
/sqlite-3.40.0/ext/rtree/
H A Drtreedoc3.test60 binary scan [string range $aData 0 1] S nHeight
61 return $nHeight
97 set nHeight [rnode_height [rt_node_get 1]]
103 iLevel [expr $nHeight+1] \
/sqlite-3.40.0/ext/fts3/
H A Dfts3_write.c4318 int nHeight = (int)aRoot[0]; in fts3IncrmergeLoad() local
4320 if( nHeight<1 || nHeight>=FTS_MAX_APPENDABLE_HEIGHT ){ in fts3IncrmergeLoad()
4331 for(i=nHeight+1; i<FTS_MAX_APPENDABLE_HEIGHT; i++){ in fts3IncrmergeLoad()
4335 pNode = &pWriter->aNodeWriter[nHeight]; in fts3IncrmergeLoad()
4336 pNode->iBlock = pWriter->iStart + pWriter->nLeafEst*nHeight; in fts3IncrmergeLoad()
4346 for(i=nHeight; i>=0 && rc==SQLITE_OK; i--){ in fts3IncrmergeLoad()