Home
last modified time | relevance | path

Searched refs:pIdx (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/sqlite3/
H A Dsqlite3.c21038 SQLITE_PRIVATE int sqlite3ExprCoveredByIndex(Expr*, int iCur, Index *pIdx);
70798 Index *pIdx = (Index *)sqliteHashData(p);
70799 if( pIdx->tnum==iRoot ){
70806 iTab = pIdx->pTable->tnum;
72357 static SQLITE_INLINE int allocateSpace(MemPage *pPage, int nByte, int *pIdx){
72405 *pIdx = g2 = (int)(pSpace-data);
72439 *pIdx = top;
84199 Index *pIdx;
84221 Index *pIdx = p->pIdx; /* Index being probed */
84224 int nCol = pIdx->nColumn; /* Number of index columns including rowid */
[all …]
H A Dshell.c15694 static int dbdataBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdx){ in dbdataBestIndex() argument
15701 for(i=0; i<pIdx->nConstraint; i++){ in dbdataBestIndex()
15702 struct sqlite3_index_constraint *p = &pIdx->aConstraint[i]; in dbdataBestIndex()
15715 pIdx->aConstraintUsage[iSchema].argvIndex = 1; in dbdataBestIndex()
15716 pIdx->aConstraintUsage[iSchema].omit = 1; in dbdataBestIndex()
15719 pIdx->aConstraintUsage[iPgno].argvIndex = 1 + (iSchema>=0); in dbdataBestIndex()
15720 pIdx->aConstraintUsage[iPgno].omit = 1; in dbdataBestIndex()
15721 pIdx->estimatedCost = 100; in dbdataBestIndex()
15722 pIdx->estimatedRows = 50; in dbdataBestIndex()
15724 if( pTab->bPtr==0 && pIdx->nOrderBy && pIdx->aOrderBy[0].desc==0 ){ in dbdataBestIndex()
[all …]