Lines Matching refs:nHeight
709 int sqlite3ExprCheckHeight(Parse *pParse, int nHeight){ in sqlite3ExprCheckHeight() argument
712 if( nHeight>mxHeight ){ in sqlite3ExprCheckHeight()
732 if( p->nHeight>*pnHeight ){ in heightOfExpr()
733 *pnHeight = p->nHeight; in heightOfExpr()
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()
773 heightOfSelect(p->x.pSelect, &nHeight); in exprSetHeight()
775 heightOfExprList(p->x.pList, &nHeight); in exprSetHeight()
778 p->nHeight = nHeight + 1; in exprSetHeight()
792 sqlite3ExprCheckHeight(pParse, p->nHeight); in sqlite3ExprSetHeightAndFlags()
800 int nHeight = 0; in sqlite3SelectExprHeight() local
801 heightOfSelect(p, &nHeight); in sqlite3SelectExprHeight()
802 return nHeight; in sqlite3SelectExprHeight()
876 pNew->nHeight = 1; in sqlite3ExprAlloc()
920 pRoot->nHeight = pRight->nHeight+1; in sqlite3ExprAttachSubtrees()
922 pRoot->nHeight = 1; in sqlite3ExprAttachSubtrees()
929 if( pLeft->nHeight>=pRoot->nHeight ){ in sqlite3ExprAttachSubtrees()
930 pRoot->nHeight = pLeft->nHeight+1; in sqlite3ExprAttachSubtrees()
957 sqlite3ExprCheckHeight(pParse, p->nHeight); in sqlite3PExpr()