diff options
author | dan <Dan Kennedy> | 2025-06-12 07:35:38 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2025-06-12 07:35:38 +0000 |
commit | 792d1d1b6d61453c4c4af6813f5877818f51a13c (patch) | |
tree | 6324de3499e440ba4084c7066895eb2f45e6375b /test | |
parent | 6a5e74cbf04e79dd7971e6dff723ef1499eddfe4 (diff) | |
download | sqlite-792d1d1b6d61453c4c4af6813f5877818f51a13c.tar.gz sqlite-792d1d1b6d61453c4c4af6813f5877818f51a13c.zip |
Have sqlite3_setlk_timeout() take the database handle mutex. This fixes an assert() failure that could occur if sqlite3_setlk_timeout() were called on a threadsafe handle.
FossilOrigin-Name: a95d126e1330e1b83f42b51f97c4c216622cf38062f3b5d72ccb76313187e850
Diffstat (limited to 'test')
-rw-r--r-- | test/walsetlk2.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/walsetlk2.test b/test/walsetlk2.test index 92630b3fd..7ffd8f03d 100644 --- a/test/walsetlk2.test +++ b/test/walsetlk2.test @@ -90,6 +90,8 @@ tvfs delete # but other operations do not use the retry mechanism. # reset_db +db close +sqlite3 db test.db -fullmutex 1 do_execsql_test 2.0 { CREATE TABLE t1(a, b); |