diff options
author | drh <drh@noemail.net> | 2012-09-13 19:59:09 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2012-09-13 19:59:09 +0000 |
commit | 6ec65491583c3aa2aa2a1230ef0d12d54c089dcc (patch) | |
tree | 1cfc343b7464790454559544a4c96af29dcd8b02 /src | |
parent | 66498ae87125a3d4bf90ff5a120bef6c68272550 (diff) | |
download | sqlite-6ec65491583c3aa2aa2a1230ef0d12d54c089dcc.tar.gz sqlite-6ec65491583c3aa2aa2a1230ef0d12d54c089dcc.zip |
Improved alignment of fields in the Expr object gives an 8-byte size
reduction on 64-bit machines.
FossilOrigin-Name: 6b252a0d1a78db7bf2d650bafc214ea4064eef9e
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0b87add19..b42af1f7c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1684,6 +1684,9 @@ struct Expr { ** access them will result in a segfault or malfunction. *********************************************************************/ +#if SQLITE_MAX_EXPR_DEPTH>0 + int nHeight; /* Height of the tree headed by this node */ +#endif int iTable; /* TK_COLUMN: cursor number of table holding column ** TK_REGISTER: register number ** TK_TRIGGER: 1 -> new, 0 -> old */ @@ -1697,9 +1700,6 @@ struct Expr { ** TK_AGG_FUNCTION: nesting depth */ AggInfo *pAggInfo; /* Used by TK_AGG_COLUMN and TK_AGG_FUNCTION */ Table *pTab; /* Table for TK_COLUMN expressions. */ -#if SQLITE_MAX_EXPR_DEPTH>0 - int nHeight; /* Height of the tree headed by this node */ -#endif }; /* |