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}} |