summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/test/attachmalloc.test
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 18:27:25 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 18:27:25 +0000
commit997e22224e1062a4cd39373057a68879a1d7a3ac (patch)
treea90a9ce4272fc78f2459b1b2c78b52a3f6d4e5d3 /third_party/sqlite/test/attachmalloc.test
parent0d683c611a18dc6ea0e99f38c73b4fb96611041f (diff)
downloadchromium_src-997e22224e1062a4cd39373057a68879a1d7a3ac.zip
chromium_src-997e22224e1062a4cd39373057a68879a1d7a3ac.tar.gz
chromium_src-997e22224e1062a4cd39373057a68879a1d7a3ac.tar.bz2
Update sqlite to version 3.6.18, porting our patches.
Hopefully this will help to address some valgrind issues. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/sqlite/test/attachmalloc.test')
-rw-r--r--third_party/sqlite/test/attachmalloc.test16
1 files changed, 15 insertions, 1 deletions
diff --git a/third_party/sqlite/test/attachmalloc.test b/third_party/sqlite/test/attachmalloc.test
index a6de5ce..30841ce 100644
--- a/third_party/sqlite/test/attachmalloc.test
+++ b/third_party/sqlite/test/attachmalloc.test
@@ -12,7 +12,7 @@
# focus of this script is testing the ATTACH statement and
# specifically out-of-memory conditions within that command.
#
-# $Id: attachmalloc.test,v 1.9 2008/08/04 20:13:27 drh Exp $
+# $Id: attachmalloc.test,v 1.10 2008/10/22 10:45:38 danielk1977 Exp $
#
set testdir [file dirname $argv0]
@@ -46,4 +46,18 @@ do_malloc_test attachmalloc-1 -tclprep {
CREATE TABLE four.t1(x);
}
+do_malloc_test attachmalloc-2 -tclprep {
+ file delete -force test2.db
+ file delete -force test2.db-journal
+ sqlite3 db2 test2.db
+ db2 eval {
+ CREATE TABLE t1(a, b, c);
+ CREATE INDEX i1 ON t1(a, b);
+ }
+ db2 close
+} -sqlbody {
+ CREATE TABLE t1(d, e, f);
+ ATTACH 'test2.db' AS db1;
+}
+
finish_test