Home
last modified time | relevance | path

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

/netbsd/src/external/public-domain/sqlite/dist/
Dsqlite3.c20956 SQLITE_PRIVATE int sqlite3ExprCoveredByIndex(Expr*, int iCur, Index *pIdx);
70399 Index *pIdx = (Index *)sqliteHashData(p);
70400 if( pIdx->tnum==iRoot ){
70407 iTab = pIdx->pTable->tnum;
71949 static SQLITE_INLINE int allocateSpace(MemPage *pPage, int nByte, int *pIdx){
71997 *pIdx = g2 = (int)(pSpace-data);
72031 *pIdx = top;
83752 Index *pIdx;
83774 Index *pIdx = p->pIdx; /* Index being probed */
83777 int nCol = pIdx->nColumn; /* Number of index columns including rowid */
[all …]
Dshell.c14459 static int dbdataBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdx){ in dbdataBestIndex() argument
14466 for(i=0; i<pIdx->nConstraint; i++){ in dbdataBestIndex()
14467 struct sqlite3_index_constraint *p = &pIdx->aConstraint[i]; in dbdataBestIndex()
14480 pIdx->aConstraintUsage[iSchema].argvIndex = 1; in dbdataBestIndex()
14481 pIdx->aConstraintUsage[iSchema].omit = 1; in dbdataBestIndex()
14484 pIdx->aConstraintUsage[iPgno].argvIndex = 1 + (iSchema>=0); in dbdataBestIndex()
14485 pIdx->aConstraintUsage[iPgno].omit = 1; in dbdataBestIndex()
14486 pIdx->estimatedCost = 100; in dbdataBestIndex()
14487 pIdx->estimatedRows = 50; in dbdataBestIndex()
14489 if( pTab->bPtr==0 && pIdx->nOrderBy && pIdx->aOrderBy[0].desc==0 ){ in dbdataBestIndex()
[all …]