1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the

sqlite3_vfs_release() interface.  Less memory allocated for a pager
in the common case where the size of the pathname is less than MAX_PATH. (CVS 4287)

FossilOrigin-Name: b8451da378179d43f25d9a014480c0f13dd1dc37
This commit is contained in:
drh
2007-08-24 16:08:29 +00:00
parent 9663b8f92d
commit 1cc8c448b5
11 changed files with 108 additions and 139 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is page cache subsystem.
#
# $Id: pager.test,v 1.28 2007/04/05 17:15:53 danielk1977 Exp $
# $Id: pager.test,v 1.29 2007/08/24 16:08:29 drh Exp $
set testdir [file dirname $argv0]
@ -409,6 +409,7 @@ do_test pager-4.6.1 {
# Test truncate on an in-memory database is Ok.
ifcapable memorydb {
do_test pager-4.6.2 {
btree_breakpoint
set ::p2 [pager_open :memory: 10]
pager_truncate $::p2 5
} {}
@ -569,6 +570,3 @@ do_test pager-6.5 {
} {}
}
finish_test