aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteLimit.h
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2009-01-10 16:15:09 +0000
committerdanielk1977 <danielk1977@noemail.net>2009-01-10 16:15:09 +0000
commit7cbd589da0bcb115d1e36b0b5b5001d7b29d38ea (patch)
tree290152d73dff621902c1170a192ec5928e25cc4c /src/sqliteLimit.h
parent96c7a7d95f1df4b689bbb9212baa58db34b20336 (diff)
downloadsqlite-7cbd589da0bcb115d1e36b0b5b5001d7b29d38ea.tar.gz
sqlite-7cbd589da0bcb115d1e36b0b5b5001d7b29d38ea.zip
Improve coverage of pager.c. (CVS 6158)
FossilOrigin-Name: 855c4093cf331496d9ef508011ad814e91e3882f
Diffstat (limited to 'src/sqliteLimit.h')
-rw-r--r--src/sqliteLimit.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sqliteLimit.h b/src/sqliteLimit.h
index 8d77d0da2..26375197b 100644
--- a/src/sqliteLimit.h
+++ b/src/sqliteLimit.h
@@ -12,7 +12,7 @@
**
** This file defines various limits of what SQLite can process.
**
-** @(#) $Id: sqliteLimit.h,v 1.9 2009/01/07 16:15:43 danielk1977 Exp $
+** @(#) $Id: sqliteLimit.h,v 1.10 2009/01/10 16:15:09 danielk1977 Exp $
*/
/*
@@ -130,6 +130,13 @@
/* Maximum page size. The upper bound on this value is 32768. This a limit
** imposed by the necessity of storing the value in a 2-byte unsigned integer
** and the fact that the page size must be a power of 2.
+**
+** If this limit is changed, then the compiled library is technically
+** incompatible with an SQLite library compiled with a different limit. If
+** a process operating on a database with a page-size of 65536 bytes
+** crashes, then an instance of SQLite compiled with the default page-size
+** limit will not be able to rollback the aborted transaction. This could
+** lead to database corruption.
*/
#ifndef SQLITE_MAX_PAGE_SIZE
# define SQLITE_MAX_PAGE_SIZE 32768