Do not generate sqlite_stat1 entries for empty tables when running

ANALYZE.  Ticket [83ea97620bd31016451]

FossilOrigin-Name: 3a27af5b3c688c651ba1fae261026ef77b7ff5e3
This commit is contained in:
drh
2011-03-30 14:54:05 +00:00
parent 5ef47bf002
commit f6cf1ffb39
7 changed files with 72 additions and 26 deletions
+1 -1
View File
@@ -222,6 +222,7 @@ do_execsql_test where3-3.0 {
CREATE INDEX t301c ON t301(c);
INSERT INTO t301 VALUES(1,2,3);
CREATE TABLE t302(x, y);
INSERT INTO t302 VALUES(4,5);
ANALYZE;
explain query plan SELECT * FROM t302, t301 WHERE t302.x=5 AND t301.a=t302.y;
} {
@@ -341,5 +342,4 @@ do_execsql_test where3-5.3 {
0 0 0 {USE TEMP B-TREE FOR ORDER BY}
}
finish_test