Modify the windows locking code so that it works correctly for a database
being shared between Win95/98/ME and WinNT/2K/XP systems. Ticket #310. (CVS 988)
FossilOrigin-Name: 8c402db7e0745622d9950e5ca5d4d8e933da436c
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 699facf..dd0650a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.186 2003/05/17 19:04:04 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.187 2003/05/29 17:43:08 drh Exp $
*/
#include "config.h"
#include "sqlite.h"
@@ -132,8 +132,13 @@
** multi-megabyte records are OK. If your needs are different, you can
** change this define and recompile to increase or decrease the record
** size.
+**
+** The 16777198 is computed as follows: 238 bytes of payload on the
+** original pages plus 16448 overflow pages each holding 1020 bytes of
+** data.
*/
-#define MAX_BYTES_PER_ROW 1048576
+/* #define MAX_BYTES_PER_ROW 1048576 */
+#define MAX_BYTES_PER_ROW 16777198
/*
** If memory allocation problems are found, recompile with