Home
last modified time | relevance | path

Searched refs:aiRowEst (Results 1 – 25 of 170) sorted by relevance

1234567

/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Danalyze.c1527 tRowcnt *aiRowEst = 0; local
1533 if( pIndex->aiRowEst==0 ){
1534 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
1535 if( pIndex->aiRowEst==0 ) sqlite3OomFault(pInfo->db);
1537 aiRowEst = pIndex->aiRowEst;
1540 decodeIntArray((char*)z, nCol, aiRowEst, pIndex->aiRowLogEst, pIndex);
1612 if( !pIdx->aiRowEst || iCol>=pIdx->nKeyCol || pIdx->aiRowEst[iCol+1]==0 ){
1617 nRow = pIdx->aiRowEst[0];
1618 nDist100 = ((i64)100 * pIdx->aiRowEst[0]) / pIdx->aiRowEst[iCol+1];
1899 sqlite3_free(pIdx->aiRowEst);
[all …]
H A DsqliteInt.h2161 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */ member
H A Dbuild.c449 sqlite3_free(p->aiRowEst); in freeIndex()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/src/
H A Danalyze.c1504 tRowcnt *aiRowEst = 0; local
1510 if( pIndex->aiRowEst==0 ){
1511 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
1512 if( pIndex->aiRowEst==0 ) sqlite3OomFault(pInfo->db);
1514 aiRowEst = pIndex->aiRowEst;
1517 decodeIntArray((char*)z, nCol, aiRowEst, pIndex->aiRowLogEst, pIndex);
1589 if( !pIdx->aiRowEst || iCol>=pIdx->nKeyCol || pIdx->aiRowEst[iCol+1]==0 ){
1594 nRow = pIdx->aiRowEst[0];
1595 nDist100 = ((i64)100 * pIdx->aiRowEst[0]) / pIdx->aiRowEst[iCol+1];
1860 sqlite3_free(pIdx->aiRowEst);
[all …]
H A DsqliteInt.h2407 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */ member
H A Dbuild.c460 sqlite3_free(p->aiRowEst); in sqlite3FreeIndex()
/dports/databases/sqlite3/sqlite-src-3350500/src/
H A Danalyze.c1574 tRowcnt *aiRowEst = 0; local
1580 if( pIndex->aiRowEst==0 ){
1581 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
1582 if( pIndex->aiRowEst==0 ) sqlite3OomFault(pInfo->db);
1584 aiRowEst = pIndex->aiRowEst;
1587 decodeIntArray((char*)z, nCol, aiRowEst, pIndex->aiRowLogEst, pIndex);
1659 if( !pIdx->aiRowEst || iCol>=pIdx->nKeyCol || pIdx->aiRowEst[iCol+1]==0 ){
1664 nRow = pIdx->aiRowEst[0];
1665 nDist100 = ((i64)100 * pIdx->aiRowEst[0]) / pIdx->aiRowEst[iCol+1];
1931 sqlite3_free(pIdx->aiRowEst);
[all …]
H A DsqliteInt.h2509 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */ member
H A Dbuild.c535 sqlite3_free(p->aiRowEst); in sqlite3FreeIndex()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/
H A Danalyze.c1574 tRowcnt *aiRowEst = 0; local
1580 if( pIndex->aiRowEst==0 ){
1581 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
1582 if( pIndex->aiRowEst==0 ) sqlite3OomFault(pInfo->db);
1584 aiRowEst = pIndex->aiRowEst;
1587 decodeIntArray((char*)z, nCol, aiRowEst, pIndex->aiRowLogEst, pIndex);
1659 if( !pIdx->aiRowEst || iCol>=pIdx->nKeyCol || pIdx->aiRowEst[iCol+1]==0 ){
1664 nRow = pIdx->aiRowEst[0];
1665 nDist100 = ((i64)100 * pIdx->aiRowEst[0]) / pIdx->aiRowEst[iCol+1];
1931 sqlite3_free(pIdx->aiRowEst);
[all …]
H A DsqliteInt.h2450 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */ member
H A Dbuild.c505 sqlite3_free(p->aiRowEst); in sqlite3FreeIndex()
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/src/
H A Dwhere.c2565 nRowEst = p->aiRowEst[0]/(SQLITE_INDEX_SAMPLES*2); in whereEqualScanEst()
2645 + nNotFound*p->aiRowEst[1]; in whereInScanEst()
2646 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0]; in whereInScanEst()
2733 sPk.aiRowEst = aiRowEstPk; in bestBtreeIndex()
2755 const unsigned int * const aiRowEst = pProbe->aiRowEst; in bestBtreeIndex() local
2934 nRow = (double)(aiRowEst[nEq] * nInMul); in bestBtreeIndex()
2935 if( bInEst && nRow*2>aiRowEst[0] ){ in bestBtreeIndex()
2936 nRow = aiRowEst[0]/2; in bestBtreeIndex()
2937 nInMul = (int)(nRow / aiRowEst[nEq]); in bestBtreeIndex()
2986 cost = aiRowEst[0]*4; in bestBtreeIndex()
[all …]
H A Danalyze.c549 pIndex->aiRowEst[i] = v; in analysisLoader()
H A Dbuild.c2604 pIndex->aiRowEst = (unsigned *)(&pIndex->aiColumn[nCol]); in sqlite3CreateIndex()
2605 pIndex->aSortOrder = (u8 *)(&pIndex->aiRowEst[nCol+1]); in sqlite3CreateIndex()
2883 unsigned *a = pIdx->aiRowEst; in sqlite3DefaultRowEst()
H A DsqliteInt.h1475 unsigned *aiRowEst; /* Result of ANALYZE: Est. rows selected by each column */ member
/dports/databases/db5/db-5.3.28/util/db_sql_codegen/sqlite/
H A DsqliteInt.h1026 unsigned *aiRowEst; /* Result of ANALYZE: Est. rows selected by each column */ member
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/fdbserver/sqlite/
H A DsqliteInt.h1477 unsigned *aiRowEst; /* Result of ANALYZE: Est. rows selected by each column */
H A Dsqlite3.amalgamation.c60498 pIndex->aiRowEst[i] = v;
64295 unsigned *a = pIdx->aiRowEst;
84811 + nNotFound*p->aiRowEst[1];
84812 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
84899 sPk.aiRowEst = aiRowEstPk;
84921 const unsigned int * const aiRowEst = pProbe->aiRowEst;
85100 if( bInEst && nRow*2>aiRowEst[0] ){
85101 nRow = aiRowEst[0]/2;
85102 nInMul = (int)(nRow / aiRowEst[nEq]);
85151 cost = aiRowEst[0]*4;
[all …]
/dports/games/pokerth/pokerth-1.1.2-rc/src/third_party/sqlite3/
H A Dsqlite3.c80144 pIndex->aiRowEst[i] = v;
80222 pIdx->avgEq = pIdx->aiRowEst[1];
84154 tRowcnt *a = pIdx->aiRowEst;
105008 n = pIdx->aiRowEst[0];
105363 nEst = p->aiRowEst[0];
105368 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
105454 sPk.aiRowEst = aiRowEstPk;
105476 const tRowcnt * const aiRowEst = pProbe->aiRowEst;
105672 nRow = aiRowEst[0]/2;
105725 cost = aiRowEst[0]*4;
[all …]
/dports/deskutils/coolreader/coolreader-cr3.2.55/thirdparty_unman/sqlite/
H A Dsqlite3.c81127 pIndex->aiRowEst[i] = v;
81205 pIdx->avgEq = pIdx->aiRowEst[1];
85143 tRowcnt *a = pIdx->aiRowEst;
106852 n = pIdx->aiRowEst[0];
107205 nEst = p->aiRowEst[0];
107210 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
107579 sPk.aiRowEst = aiRowEstPk;
107612 const tRowcnt * const aiRowEst = pProbe->aiRowEst;
107831 pc.plan.nRow = aiRowEst[0]/2;
107900 pc.rCost = aiRowEst[0]*4;
[all …]
/dports/databases/db5/db-5.3.28/lang/sql/generated/
H A Dsqlite3.c66940 pIndex->aiRowEst[i] = v;
70791 unsigned *a = pIdx->aiRowEst;
91396 + nNotFound*p->aiRowEst[1];
91397 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
91484 sPk.aiRowEst = aiRowEstPk;
91506 const unsigned int * const aiRowEst = pProbe->aiRowEst;
91686 if( bInEst && nRow*2>aiRowEst[0] ){
91687 nRow = aiRowEst[0]/2;
91688 nInMul = (int)(nRow / aiRowEst[nEq]);
91737 cost = aiRowEst[0]*4;
[all …]
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/bandb/sqlite3/
H A Dsqlite3.c78151 pIndex->aiRowEst[i] = v;
82065 unsigned *a = pIdx->aiRowEst;
103164 + nNotFound*p->aiRowEst[1];
103165 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
103253 sPk.aiRowEst = aiRowEstPk;
103275 const unsigned int * const aiRowEst = pProbe->aiRowEst;
103459 if( bInEst && nRow*2>aiRowEst[0] ){
103460 nRow = aiRowEst[0]/2;
103461 nInMul = (int)(nRow / aiRowEst[nEq]);
103511 cost = aiRowEst[0]*4;
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/sqlite/
H A Dsqlite3.c76390 pIndex->aiRowEst[i] = v;
80252 unsigned *a = pIdx->aiRowEst;
101009 + nNotFound*p->aiRowEst[1];
101010 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
101097 sPk.aiRowEst = aiRowEstPk;
101119 const unsigned int * const aiRowEst = pProbe->aiRowEst;
101299 if( bInEst && nRow*2>aiRowEst[0] ){
101300 nRow = aiRowEst[0]/2;
101301 nInMul = (int)(nRow / aiRowEst[nEq]);
101350 cost = aiRowEst[0]*4;
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/sqlite/
H A Dsqlite3.c76354 pIndex->aiRowEst[i] = v;
80216 unsigned *a = pIdx->aiRowEst;
100973 + nNotFound*p->aiRowEst[1];
100974 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
101061 sPk.aiRowEst = aiRowEstPk;
101083 const unsigned int * const aiRowEst = pProbe->aiRowEst;
101263 if( bInEst && nRow*2>aiRowEst[0] ){
101264 nRow = aiRowEst[0]/2;
101265 nInMul = (int)(nRow / aiRowEst[nEq]);
101314 cost = aiRowEst[0]*4;
[all …]

1234567