1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix an assert() broken by recent changes to vacuum.

FossilOrigin-Name: dd058da85ca54ae70e26cb0bdc75ff42998d4a8b29a5e2dcac44ee0e45776a85
This commit is contained in:
dan
2020-12-11 19:01:24 +00:00
parent 7710878333
commit 855aed19e2
4 changed files with 20 additions and 9 deletions

View File

@ -29,10 +29,21 @@ do_execsql_test 1.0 {
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1, 1);
} {}
do_execsql_test 1.1 {
VACUUM
}
reset_db
do_execsql_test 1.2 {
CREATE TABLE t1(x,b);
CREATE INDEX x1 ON t1(x);
CREATE INDEX x2 ON t1(x);
CREATE INDEX x3 ON t1(x);
INSERT INTO t1 SELECT 2,'';
VACUUM;
}
#-------------------------------------------------------------------------
#
reset_db