diff options
author | drh <drh@noemail.net> | 2007-02-01 01:40:44 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-02-01 01:40:44 +0000 |
commit | ca83ac51b3b038cb72300d28a7227375bc989f3d (patch) | |
tree | ba99592d603ba9c3b1d9387b7f3116936d5d2c4a /src/sqliteInt.h | |
parent | ae0943b4450c8409fa724c8accbbfb08b02b915b (diff) | |
download | sqlite-ca83ac51b3b038cb72300d28a7227375bc989f3d.tar.gz sqlite-ca83ac51b3b038cb72300d28a7227375bc989f3d.zip |
Allow up to 64 tables in a join (the number of bits in a long long int).
The old limit was 32 tables. (CVS 3622)
FossilOrigin-Name: 505dce8f4e8717341e04f49f6f382719c3c704f1
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index a6c944f01..bd1430024 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.533 2007/01/19 01:06:02 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.534 2007/02/01 01:40:44 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -1078,8 +1078,12 @@ struct IdList { /* ** The bitmask datatype defined below is used for various optimizations. +** +** Changing this from a 64-bit to a 32-bit type limits the number of +** tables in a join to 32 instead of 64. But it also reduces the size +** of the library by 738 bytes on ix86. */ -typedef unsigned int Bitmask; +typedef u64 Bitmask; /* ** The following structure describes the FROM clause of a SELECT statement. |