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/sqliteInt.h | |
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/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 134653bc7..8ea3e3949 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -23,7 +23,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.48 2001/09/15 00:57:29 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.49 2001/09/15 13:15:13 drh Exp $ */ #include "sqlite.h" #include "vdbe.h" @@ -42,9 +42,12 @@ #define TEMP_PAGES 25 /* -** The paging system deals with 32-bit integers. +** Integers of known sizes. These typedefs much change for architectures +** where the sizes very. */ -typedef unsigned int u32; +typedef unsigned int u32; /* 4-byte unsigned integer */ +typedef unsigned short int u16; /* 2-byte unsigned integer */ +typedef unsigned char u8; /* 1-byte unsigned integer */ /* ** If memory allocation problems are found, recompile with |