Home
last modified time | relevance | path

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

/sqlite-3.40.0/ext/expert/
H A Dexpert.c110 int iSample; in main() local
112 iSample = option_integer_arg(argv[i]); in main()
113 sqlite3_expert_config(p, EXPERT_CONFIG_SAMPLE, iSample); in main()
H A Dsqlite3expert.c1617 assert( p->iSample>0 ); in idxPopulateOneStat1()
1632 if( p->iSample==100 ){ in idxPopulateOneStat1()
1647 sqlite3 *dbrem = (p->iSample==100 ? p->db : p->dbv); in idxPopulateOneStat1()
1745 if( p->iSample==0 ) return SQLITE_OK; in idxPopulateStat1()
1758 sqlite3 *dbrem = (p->iSample==100 ? p->db : p->dbv); in idxPopulateStat1()
1785 if( p->iSample<100 && iPrev!=iRowid ){ in idxPopulateStat1()
1786 samplectx.target = (double)p->iSample / 100.0; in idxPopulateStat1()
1787 samplectx.iTarget = p->iSample; in idxPopulateStat1()
1796 if( rc==SQLITE_OK && p->iSample<100 ){ in idxPopulateStat1()
1838 pNew->iSample = 100; in sqlite3_expert_new()
[all …]
/sqlite-3.40.0/src/
H A Dwhere.c1443 int iSample; /* Smallest sample larger than or equal to pRec */ in whereKeyStats() local
1503 iSample = pIdx->nSample * nField; in whereKeyStats()
1508 iTest = (iMin+iSample)/2; in whereKeyStats()
1531 iSample = iTest; in whereKeyStats()
1534 }while( res && iMin<iSample ); in whereKeyStats()
1535 i = iSample / nField; in whereKeyStats()
H A Dshell.c.in3814 int iSample = 0; local
3832 iSample = (int)integerValue(azArg[++i]);
3833 if( iSample<0 || iSample>100 ){
3852 pState->expert.pExpert, EXPERT_CONFIG_SAMPLE, iSample