Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: third_party/sqlite/src/test/tableapi.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/table.test ('k') | third_party/sqlite/src/test/tclsqlite.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/tableapi.test
diff --git a/third_party/sqlite/src/test/tableapi.test b/third_party/sqlite/src/test/tableapi.test
index e5d0ac0af38a98a25f4d0a923d7270ccb4ea0fcb..122267fea8fb9bf37d6e17a36d2addd3aa4aad11 100644
--- a/third_party/sqlite/src/test/tableapi.test
+++ b/third_party/sqlite/src/test/tableapi.test
@@ -231,6 +231,14 @@ ifcapable schema_pragmas {
} {0 1 1 user_version 0}
}
+# do_malloc_test closes and deletes the usual db connections and files on
+# each iteration. $::dbx is a seperate connection, and on Windows, will
+# cause the file deletion of test.db to fail, so we move the close of $::dbx
+# up to here before the do_malloc_test.
+do_test tableapi-99.0 {
+ sqlite3_close $::dbx
+} {SQLITE_OK}
+
ifcapable memdebug {
do_malloc_test tableapi-7 -sqlprep {
DROP TABLE IF EXISTS t1;
@@ -245,8 +253,4 @@ ifcapable memdebug {
}
}
-do_test tableapi-99.0 {
- sqlite3_close $::dbx
-} {SQLITE_OK}
-
finish_test
« no previous file with comments | « third_party/sqlite/src/test/table.test ('k') | third_party/sqlite/src/test/tclsqlite.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698