1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +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

@@ -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