Searched refs:pUsage (Results 1 – 4 of 4) sorted by relevance
362 struct sqlite3_index_constraint_usage *pUsage; in tclvarBestIndex() local364 pUsage = &pIdxInfo->aConstraintUsage[ii]; in tclvarBestIndex()369 pUsage->argvIndex = ++iStr; in tclvarBestIndex()370 pUsage->omit = 0; in tclvarBestIndex()377 pUsage->argvIndex = ++iStr; in tclvarBestIndex()378 pUsage->omit = 1; in tclvarBestIndex()385 pUsage->argvIndex = ++iStr; in tclvarBestIndex()386 pUsage->omit = tclvarSetOmit(pTab->interp); in tclvarBestIndex()393 pUsage->argvIndex = ++iStr; in tclvarBestIndex()394 pUsage->omit = tclvarSetOmit(pTab->interp); in tclvarBestIndex()[all …]
191 struct sqlite3_index_constraint_usage *pUsage; in fsdirBestIndex() local192 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fsdirBestIndex()193 pUsage->omit = 1; in fsdirBestIndex()194 pUsage->argvIndex = 1; in fsdirBestIndex()400 struct sqlite3_index_constraint_usage *pUsage; in fstreeBestIndex() local401 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fstreeBestIndex()403 pUsage->argvIndex = 1; in fstreeBestIndex()781 struct sqlite3_index_constraint_usage *pUsage; in fsBestIndex() local782 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fsBestIndex()783 pUsage->omit = 0; in fsBestIndex()[all …]
861 struct sqlite3_index_constraint_usage *pUsage; in echoBestIndex() local865 pUsage = &pIdxInfo->aConstraintUsage[ii]; in echoBestIndex()910 pUsage->argvIndex = ++nArg; in echoBestIndex()911 pUsage->omit = 1; in echoBestIndex()
1179 struct sqlite3_index_constraint_usage *pUsage; in allocateIndexInfo() local1280 + (sizeof(*pIdxCons) + sizeof(*pUsage))*nTerm in allocateIndexInfo()1290 pUsage = (struct sqlite3_index_constraint_usage*)&pIdxOrderBy[nOrderBy]; in allocateIndexInfo()1293 pIdxInfo->aConstraintUsage = pUsage; in allocateIndexInfo()3684 struct sqlite3_index_constraint_usage *pUsage = pIdxInfo->aConstraintUsage; in whereLoopAddVirtualOne() local3712 memset(pUsage, 0, sizeof(pUsage[0])*nConstraint); in whereLoopAddVirtualOne()3744 if( (iTerm = pUsage[i].argvIndex - 1)>=0 ){ in whereLoopAddVirtualOne()3767 if( pUsage[i].omit ){ in whereLoopAddVirtualOne()