aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-02-01 01:40:44 +0000
committerdrh <drh@noemail.net>2007-02-01 01:40:44 +0000
commitca83ac51b3b038cb72300d28a7227375bc989f3d (patch)
treeba99592d603ba9c3b1d9387b7f3116936d5d2c4a /src/expr.c
parentae0943b4450c8409fa724c8accbbfb08b02b915b (diff)
downloadsqlite-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/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index aa70bdd9c..a20e1541c 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: expr.c,v 1.271 2007/01/04 01:20:29 drh Exp $
+** $Id: expr.c,v 1.272 2007/02/01 01:40:44 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1046,7 +1046,7 @@ static int lookupName(
n = sizeof(Bitmask)*8-1;
}
assert( pMatch->iCursor==pExpr->iTable );
- pMatch->colUsed |= 1<<n;
+ pMatch->colUsed |= ((Bitmask)1)<<n;
}
lookupname_end: