1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Make the pager sector size configurable at compile-time. (CVS 3517)

FossilOrigin-Name: 6221cf4f52e79f53043b7c10daedf2755d8fb167
This commit is contained in:
drh
2006-11-23 11:58:44 +00:00
parent b62c335ed6
commit 600123299e
3 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
C Add\sperformance\stests\sto\sthe\stest\ssuite.\s(CVS\s3516)
D 2006-11-23T09:39:16
C Make\sthe\spager\ssector\ssize\sconfigurable\sat\scompile-time.\s(CVS\s3517)
D 2006-11-23T11:58:44
F Makefile.in 8e14898d41a53033ecb687d93c9cd5d109fb9ae3
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -85,7 +85,7 @@ F src/os_unix.c d3b6b66b79777c9177d76bd5c68c227978c4593c
F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
F src/os_win.c cac5f9b60faacd46874aa8dfefdb7dc4d0437ff9
F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
F src/pager.c 3114c819a6cb86a2499396819c5fd6f4f8165546
F src/pager.c 18c9cb43b3e740c63eaa13da41c52926012e4853
F src/pager.h 2e6d42f4ae004ae748a037b8468112b851c447a7
F src/parse.y 8c79a1debbd92a4f5609511e9bf0222de78f5ecb
F src/pragma.c 2ef4353448e202961a22312f34695128bbb6d69a
@@ -421,7 +421,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
P 9fdc249609a4745715a2bf49bbf1376ea243a20a
R efe8add04260169c1047f36db8e1352f
P 270c745dffad7aa24f8707720b3d68ad7a6b2749
R 08d85b07226abddb3fca68e445263089
U drh
Z 86f3e2483d981df2a6b869d1c8f0b98e
Z 893970aa3be7b435d2dbaa192410c0d5

View File

@@ -1 +1 @@
270c745dffad7aa24f8707720b3d68ad7a6b2749
6221cf4f52e79f53043b7c10daedf2755d8fb167

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.275 2006/11/06 21:20:26 drh Exp $
** @(#) $Id: pager.c,v 1.276 2006/11/23 11:58:44 drh Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -350,7 +350,9 @@ static const unsigned char aJournalMagic[] = {
/*
** The default size of a disk sector
*/
#define PAGER_SECTOR_SIZE 512
#ifndef PAGER_SECTOR_SIZE
# define PAGER_SECTOR_SIZE 512
#endif
/*
** Page number PAGER_MJ_PGNO is never used in an SQLite database (it is