]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Change the pager's sector size algorithm to the maximum of the size
authordrh <drh@noemail.net>
Fri, 28 Mar 2008 17:41:13 +0000 (17:41 +0000)
committerdrh <drh@noemail.net>
Fri, 28 Mar 2008 17:41:13 +0000 (17:41 +0000)
commit334c80d61558f9b7d621080f7924e5177494e051
treeb6bcb2a2ff71af1b800dbeb7e13d3722187e83a5
parent5f0961354589bc9a6241a92dc9dd4e11364d2d4d
Change the pager's sector size algorithm to the maximum of the size
reported by xSectorSize() from the VFS and 512.  It was using the
maximum of xSectorSize() and the current page size, but that was adding
an extra 512 bytes to the size of the journal file in the common case. (CVS 4929)

FossilOrigin-Name: 17ea0c97a8bac1b34af1f9183d93a2f2a6af9690
manifest
manifest.uuid
src/pager.c
test/io.test