tRowcnt 11756 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *aAvgEq; /* Average nEq values for keys not in aSample */ tRowcnt 11758 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */ tRowcnt 11759 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nRowEst0; /* Non-logarithmic number of rows in the index */ tRowcnt 11784 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anEq; /* Est. number of rows where the key equals this sample */ tRowcnt 11785 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anLt; /* Est. number of rows where key is less than this sample */ tRowcnt 11786 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anDLt; /* Est. number of distinct keys less than this sample */ tRowcnt 88329 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anEq; /* sqlite_stat4.nEq */ tRowcnt 88330 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anDLt; /* sqlite_stat4.nDLt */ tRowcnt 88332 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anLt; /* sqlite_stat4.nLt */ tRowcnt 88344 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nRow; /* Number of rows in the entire table */ tRowcnt 88345 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nPSample; /* How often to do a periodic sample */ tRowcnt 88407 ext/sqlite3/libsqlite/sqlite3.c memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol); tRowcnt 88408 ext/sqlite3/libsqlite/sqlite3.c memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol); tRowcnt 88409 ext/sqlite3/libsqlite/sqlite3.c memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol); tRowcnt 88474 ext/sqlite3/libsqlite/sqlite3.c nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol; tRowcnt 88481 ext/sqlite3/libsqlite/sqlite3.c + sizeof(tRowcnt)*nColUp /* Stat4Accum.anEq */ tRowcnt 88482 ext/sqlite3/libsqlite/sqlite3.c + sizeof(tRowcnt)*nColUp /* Stat4Accum.anDLt */ tRowcnt 88484 ext/sqlite3/libsqlite/sqlite3.c + sizeof(tRowcnt)*nColUp /* Stat4Accum.anLt */ tRowcnt 88486 ext/sqlite3/libsqlite/sqlite3.c + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample) tRowcnt 88500 ext/sqlite3/libsqlite/sqlite3.c p->current.anDLt = (tRowcnt*)&p[1]; tRowcnt 88510 ext/sqlite3/libsqlite/sqlite3.c p->nPSample = (tRowcnt)(sqlite3_value_int64(argv[2])/(mxSample/3+1) + 1); tRowcnt 88519 ext/sqlite3/libsqlite/sqlite3.c p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp); tRowcnt 88520 ext/sqlite3/libsqlite/sqlite3.c p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp); tRowcnt 88521 ext/sqlite3/libsqlite/sqlite3.c p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp); tRowcnt 88591 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nEqNew = pNew->anEq[pNew->iCol]; tRowcnt 88592 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nEqOld = pOld->anEq[pOld->iCol]; tRowcnt 88651 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anEq = pMin->anEq; tRowcnt 88652 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anLt = pMin->anLt; tRowcnt 88653 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *anDLt = pMin->anDLt; tRowcnt 88678 ext/sqlite3/libsqlite/sqlite3.c memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero); tRowcnt 88728 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nLt = p->current.anLt[0]; tRowcnt 88729 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nEq = p->current.anEq[0]; tRowcnt 88818 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nLt = p->current.anLt[p->nCol-1]; tRowcnt 88948 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *aCnt = 0; tRowcnt 89496 ext/sqlite3/libsqlite/sqlite3.c tRowcnt v; tRowcnt 89583 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *aiRowEst = 0; tRowcnt 89590 ext/sqlite3/libsqlite/sqlite3.c pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol); tRowcnt 89657 ext/sqlite3/libsqlite/sqlite3.c tRowcnt sumEq = 0; /* Sum of the nEq values */ tRowcnt 89658 ext/sqlite3/libsqlite/sqlite3.c tRowcnt avgEq = 0; tRowcnt 89659 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nRow; /* Number of rows in index */ tRowcnt 89755 ext/sqlite3/libsqlite/sqlite3.c tRowcnt *pSpace; tRowcnt 89775 ext/sqlite3/libsqlite/sqlite3.c nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample; tRowcnt 89776 ext/sqlite3/libsqlite/sqlite3.c nByte += nIdxCol * sizeof(tRowcnt); /* Space for Index.aAvgEq[] */ tRowcnt 89783 ext/sqlite3/libsqlite/sqlite3.c pSpace = (tRowcnt*)&pIdx->aSample[nSample]; tRowcnt 118230 ext/sqlite3/libsqlite/sqlite3.c tRowcnt iLower = 0; /* anLt[] + anEq[] of largest sample pRec is > */ tRowcnt 118369 ext/sqlite3/libsqlite/sqlite3.c tRowcnt iUpper, iGap; tRowcnt 118586 ext/sqlite3/libsqlite/sqlite3.c tRowcnt a[2]; tRowcnt 118608 ext/sqlite3/libsqlite/sqlite3.c tRowcnt iLower; /* Rows less than the lower bound */ tRowcnt 118609 ext/sqlite3/libsqlite/sqlite3.c tRowcnt iUpper; /* Rows less than the upper bound */ tRowcnt 118648 ext/sqlite3/libsqlite/sqlite3.c tRowcnt iNew; tRowcnt 118663 ext/sqlite3/libsqlite/sqlite3.c tRowcnt iNew; tRowcnt 118757 ext/sqlite3/libsqlite/sqlite3.c tRowcnt a[2]; /* Statistics */ tRowcnt 118821 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nEst; /* Number of rows for a single term */ tRowcnt 118822 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nRowEst = 0; /* New estimate of the number of rows */ tRowcnt 121022 ext/sqlite3/libsqlite/sqlite3.c tRowcnt nOut = 0;