Lines Matching refs:pIdxInfo
597 sqlite3_index_info *pIdxInfo in seriesBestIndex() argument
607 pConstraint = pIdxInfo->aConstraint; in seriesBestIndex()
608 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){ in seriesBestIndex()
627 pIdxInfo->aConstraintUsage[startIdx].argvIndex = ++nArg; in seriesBestIndex()
628 pIdxInfo->aConstraintUsage[startIdx].omit= !SQLITE_SERIES_CONSTRAINT_VERIFY; in seriesBestIndex()
631 pIdxInfo->aConstraintUsage[stopIdx].argvIndex = ++nArg; in seriesBestIndex()
632 pIdxInfo->aConstraintUsage[stopIdx].omit = !SQLITE_SERIES_CONSTRAINT_VERIFY; in seriesBestIndex()
635 pIdxInfo->aConstraintUsage[stepIdx].argvIndex = ++nArg; in seriesBestIndex()
636 pIdxInfo->aConstraintUsage[stepIdx].omit = !SQLITE_SERIES_CONSTRAINT_VERIFY; in seriesBestIndex()
641 pIdxInfo->estimatedCost = (double)(2 - ((idxNum&4)!=0)); in seriesBestIndex()
642 pIdxInfo->estimatedRows = 1000; in seriesBestIndex()
643 if( pIdxInfo->nOrderBy==1 ){ in seriesBestIndex()
644 if( pIdxInfo->aOrderBy[0].desc ) idxNum |= 8; in seriesBestIndex()
645 pIdxInfo->orderByConsumed = 1; in seriesBestIndex()
651 pIdxInfo->estimatedCost = (double)2147483647; in seriesBestIndex()
652 pIdxInfo->estimatedRows = 2147483647; in seriesBestIndex()
654 pIdxInfo->idxNum = idxNum; in seriesBestIndex()