Home
last modified time | relevance | path

Searched refs:pUsage (Results 1 – 4 of 4) sorted by relevance

/sqlite-3.40.0/src/
H A Dtest_tclvar.c362 struct sqlite3_index_constraint_usage *pUsage; in tclvarBestIndex() local
364 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 …]
H A Dtest_fs.c191 struct sqlite3_index_constraint_usage *pUsage; in fsdirBestIndex() local
192 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() local
401 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fstreeBestIndex()
403 pUsage->argvIndex = 1; in fstreeBestIndex()
781 struct sqlite3_index_constraint_usage *pUsage; in fsBestIndex() local
782 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fsBestIndex()
783 pUsage->omit = 0; in fsBestIndex()
[all …]
H A Dtest8.c861 struct sqlite3_index_constraint_usage *pUsage; in echoBestIndex() local
865 pUsage = &pIdxInfo->aConstraintUsage[ii]; in echoBestIndex()
910 pUsage->argvIndex = ++nArg; in echoBestIndex()
911 pUsage->omit = 1; in echoBestIndex()
H A Dwhere.c1179 struct sqlite3_index_constraint_usage *pUsage; in allocateIndexInfo() local
1280 + (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() local
3712 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()