diff options
author | drh <drh@noemail.net> | 2001-09-15 13:15:12 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2001-09-15 13:15:12 +0000 |
commit | 092d0350d5bcfe2d1a02dc3a821b474c9c0ecdbd (patch) | |
tree | f1438bc5ce605f19e22fb7240a04cbba9b4c20b1 /src/btree.c | |
parent | b3e05a662ad09159dad26a4520e815ae6550b1b7 (diff) | |
download | sqlite-092d0350d5bcfe2d1a02dc3a821b474c9c0ecdbd.tar.gz sqlite-092d0350d5bcfe2d1a02dc3a821b474c9c0ecdbd.zip |
Limit the total data in a single row to 2^16-1 bytes. (CVS 248)
FossilOrigin-Name: 8fdec4d8b6043471f21235bc8918c9a8d838f508
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/btree.c b/src/btree.c index 3baa48733..2dc2d4c67 100644 --- a/src/btree.c +++ b/src/btree.c @@ -21,7 +21,7 @@ ** http://www.hwaci.com/drh/ ** ************************************************************************* -** $Id: btree.c,v 1.27 2001/09/14 18:54:08 drh Exp $ +** $Id: btree.c,v 1.28 2001/09/15 13:15:13 drh Exp $ ** ** This file implements a external (disk-based) database using BTrees. ** For a detailed discussion of BTrees, refer to @@ -73,9 +73,12 @@ ** Change these typedefs when porting to new architectures. */ typedef unsigned int uptr; -/* typedef unsigned int u32; -- already defined in sqliteInt.h */ -typedef unsigned short int u16; -typedef unsigned char u8; + +/* There are already definedin sqliteInt.h... +** typedef unsigned int u32; +** typedef unsigned short int u16; +** typedef unsigned char u8; +*/ /* ** This macro casts a pointer to an integer. Useful for doing |