Lines Matching refs:pIdxInfo
1268 sqlite3_index_info *pIdxInfo in unionBestIndex() argument
1276 for(i=0; i<pIdxInfo->nConstraint; i++){ in unionBestIndex()
1277 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[i]; in unionBestIndex()
1296 pIdxInfo->estimatedRows = 1; in unionBestIndex()
1297 pIdxInfo->idxFlags = SQLITE_INDEX_SCAN_UNIQUE; in unionBestIndex()
1298 pIdxInfo->estimatedCost = 3.0; in unionBestIndex()
1299 pIdxInfo->idxNum = SQLITE_INDEX_CONSTRAINT_EQ; in unionBestIndex()
1300 pIdxInfo->aConstraintUsage[iEq].argvIndex = 1; in unionBestIndex()
1301 pIdxInfo->aConstraintUsage[iEq].omit = 1; in unionBestIndex()
1308 pIdxInfo->aConstraintUsage[iLt].argvIndex = iCons++; in unionBestIndex()
1309 pIdxInfo->aConstraintUsage[iLt].omit = 1; in unionBestIndex()
1310 idxNum |= pIdxInfo->aConstraint[iLt].op; in unionBestIndex()
1314 pIdxInfo->aConstraintUsage[iGt].argvIndex = iCons++; in unionBestIndex()
1315 pIdxInfo->aConstraintUsage[iGt].omit = 1; in unionBestIndex()
1316 idxNum |= pIdxInfo->aConstraint[iGt].op; in unionBestIndex()
1318 pIdxInfo->estimatedRows = nRow; in unionBestIndex()
1319 pIdxInfo->estimatedCost = 3.0 * (double)nRow; in unionBestIndex()
1320 pIdxInfo->idxNum = idxNum; in unionBestIndex()