diff options
author | Igor Babaev <igor@askmonty.org> | 2011-12-31 02:25:57 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-12-31 02:25:57 -0800 |
commit | b6b5f9fabe4866a8753e81e1f80593b645f35d8e (patch) | |
tree | 5ea9c96070eeb391ca24850300a800289d365f26 /sql/structs.h | |
parent | 1c47e1ca0d9b2753b2f447df9efad2d14fbba74b (diff) | |
download | mariadb-git-b6b5f9fabe4866a8753e81e1f80593b645f35d8e.tar.gz |
Implementation of the MWL#247: Make the optimizer use extended keys.
The main patch.
.
Diffstat (limited to 'sql/structs.h')
-rw-r--r-- | sql/structs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h index 18f90d5b8b1..be53a88a0cc 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -77,6 +77,9 @@ typedef struct st_key { ulong flags; /* dupp key and pack flags */ uint key_parts; /* How many key_parts */ uint usable_key_parts; /* Should normally be = key_parts */ + uint ext_key_parts; /* Number of key parts in extended key */ + ulong ext_key_flags; /* Flags for extended key */ + key_part_map ext_key_part_map; /* Bitmap of pk key parts in extension */ uint block_size; uint name_length; enum ha_key_alg algorithm; |