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

Unified Diff: third_party/sqlite/src/test/shared3.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/shared2.test ('k') | third_party/sqlite/src/test/soak.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/shared3.test
diff --git a/third_party/sqlite/src/test/shared3.test b/third_party/sqlite/src/test/shared3.test
index d9d5fa8ccb0677e72aec3aa623c5f0596517e390..8f9eae9b7a33174d26bc9a8b34bee88260bd05ca 100644
--- a/third_party/sqlite/src/test/shared3.test
+++ b/third_party/sqlite/src/test/shared3.test
@@ -90,12 +90,12 @@ do_test shared3-2.8 {
execsql {
INSERT INTO t1 VALUES(10, randomblob(10000))
} db1
- sqlite3 db3 $alternative_name
# If the pager-cache is really still limited to 10 pages, then the INSERT
# statement above should have caused the pager to grab an exclusive lock
# on the database file so that the cache could be spilled.
#
+ catch { sqlite3 db3 $alternative_name }
catchsql {select count(*) from sqlite_master} db3
} {1 {database is locked}}
« no previous file with comments | « third_party/sqlite/src/test/shared2.test ('k') | third_party/sqlite/src/test/soak.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698