1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a problem introduced into lock2.test by the previous commit.

FossilOrigin-Name: c1c9f6fa9d75df740e577dbc5e6a24b91ad2bdd0
This commit is contained in:
dan
2010-06-15 18:00:06 +00:00
parent e91a54e1be
commit 2fce9ab3f8
5 changed files with 30 additions and 29 deletions

View File

@ -59,9 +59,8 @@ do_test lock2-1.3 {
} {}
do_test lock2-1.4 {
testfixture $::tf1 {
db eval {
CREATE TABLE def(d, e, f)
}
catch { db eval { CREATE TABLE def(d, e, f) } } msg
set msg
}
} {database is locked}
do_test lock2-1.5 {
@ -79,10 +78,11 @@ do_test lock2-1.6 {
} {}
do_test lock2-1.7 {
testfixture $::tf1 {
db eval {
catch { db eval {
BEGIN;
SELECT * FROM sqlite_master;
}
} } msg
set msg
}
} {database is locked}
do_test lock2-1.8 {