mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix a bug in test_server.c that resulted from the change in semantics
of sqlite3_enable_shared_cache(). All quick tests now pass. (CVS 4326) FossilOrigin-Name: 5201fa4f8310ffc8b6881d96b152581d74e2df6b
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
#
|
||||
# This file is derived from thread1.test
|
||||
#
|
||||
# $Id: server1.test,v 1.4 2006/01/15 00:13:16 drh Exp $
|
||||
# $Id: server1.test,v 1.5 2007/08/29 18:20:17 drh Exp $
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -125,7 +125,7 @@ do_test server1-2.2 {
|
||||
} SQLITE_ROW
|
||||
|
||||
# Write to a different table from another thread. This is allowed
|
||||
# becaus in server mode with a shared cache we have table-level locking.
|
||||
# because in server mode with a shared cache we have table-level locking.
|
||||
#
|
||||
do_test server1-2.3 {
|
||||
client_create C test.db
|
||||
@ -167,4 +167,5 @@ do_test server1-2.6 {
|
||||
} SQLITE_OK
|
||||
|
||||
client_halt *
|
||||
sqlite3_enable_shared_cache 0
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user