Snapshot of upstream SQLite 3.26.0

This commit is contained in:
Stephen Lombardo
2018-12-12 19:43:10 -05:00
parent e62fa4945b
commit 4d9565b805
284 changed files with 7619 additions and 1561 deletions
+11 -15
View File
@@ -22,9 +22,7 @@ ifcapable !gettable {
return
}
ifcapable memdebug {
source $testdir/malloc_common.tcl
}
source $testdir/malloc_common.tcl
do_test tableapi-1.0 {
set ::dbx [sqlite3_open test.db]
@@ -239,18 +237,16 @@ do_test tableapi-99.0 {
sqlite3_close $::dbx
} {SQLITE_OK}
ifcapable memdebug {
do_malloc_test tableapi-7 -sqlprep {
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
INSERT INTO t1 VALUES(3,4);
INSERT INTO t1 SELECT a+4, b+4 FROM t1;
INSERT INTO t1 SELECT a+8, b+8 FROM t1;
} -tclbody {
set r [sqlite3_get_table_printf db {SELECT rowid, a, b FROM t1} {}]
if {[llength $r]<26} {error "out of memory"}
}
do_malloc_test tableapi-7 -sqlprep {
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
INSERT INTO t1 VALUES(3,4);
INSERT INTO t1 SELECT a+4, b+4 FROM t1;
INSERT INTO t1 SELECT a+8, b+8 FROM t1;
} -tclbody {
set r [sqlite3_get_table_printf db {SELECT rowid, a, b FROM t1} {}]
if {[llength $r]<26} {error "out of memory"}
}
finish_test