Index: src/where.c ================================================================== --- src/where.c +++ src/where.c @@ -1997,10 +1997,11 @@ } } return nRet; } +#ifdef SQLITE_ENABLE_STAT3_OR_STAT4 /* ** This function is called to estimate the number of rows visited by a ** range-scan on a skip-scan index. For example: ** ** CREATE INDEX i1 ON t1(a, b, c); @@ -2089,10 +2090,11 @@ sqlite3ValueFree(p2); sqlite3ValueFree(pVal); return rc; } +#endif /* SQLITE_ENABLE_STAT3_OR_STAT4 */ /* ** This function is used to estimate the number of rows that will be visited ** by scanning an index for a range of values. The range may have an upper ** bound, a lower bound, or both. The WHERE clause terms that set the upper