diff options
author | drh <drh@noemail.net> | 2011-11-29 15:04:12 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-11-29 15:04:12 +0000 |
commit | 76a3acaceabe44df8a403fc4ae1e1cfd62a108f0 (patch) | |
tree | 552e8f5a9037da740312504cb95089965d2fbb18 /src | |
parent | 4dd65e0f0cdde2ff2ea3f8eea71c1f91e2c189e7 (diff) | |
download | sqlite-76a3acaceabe44df8a403fc4ae1e1cfd62a108f0.tar.gz sqlite-76a3acaceabe44df8a403fc4ae1e1cfd62a108f0.zip |
Remove unused boolean fields from the UnpackedRecord object.
FossilOrigin-Name: b10d091ec02e94643e865743129e2a21147b3136
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 48884aa85..856e87862 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1434,7 +1434,7 @@ struct KeyInfo { struct UnpackedRecord { KeyInfo *pKeyInfo; /* Collation and sort-order information */ u16 nField; /* Number of entries in apMem[] */ - u16 flags; /* Boolean settings. UNPACKED_... below */ + u8 flags; /* Boolean settings. UNPACKED_... below */ i64 rowid; /* Used by UNPACKED_PREFIX_SEARCH */ Mem *aMem; /* Values */ }; @@ -1442,11 +1442,9 @@ struct UnpackedRecord { /* ** Allowed values of UnpackedRecord.flags */ -#define UNPACKED_NEED_FREE 0x0001 /* Memory is from sqlite3Malloc() */ -#define UNPACKED_NEED_DESTROY 0x0002 /* apMem[]s should all be destroyed */ -#define UNPACKED_INCRKEY 0x0008 /* Make this key an epsilon larger */ -#define UNPACKED_PREFIX_MATCH 0x0010 /* A prefix match is considered OK */ -#define UNPACKED_PREFIX_SEARCH 0x0020 /* A prefix match is considered OK */ +#define UNPACKED_INCRKEY 0x01 /* Make this key an epsilon larger */ +#define UNPACKED_PREFIX_MATCH 0x02 /* A prefix match is considered OK */ +#define UNPACKED_PREFIX_SEARCH 0x04 /* Ignore final (rowid) field */ /* ** Each SQL index is represented in memory by an |