From b6b5f9fabe4866a8753e81e1f80593b645f35d8e Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Sat, 31 Dec 2011 02:25:57 -0800 Subject: Implementation of the MWL#247: Make the optimizer use extended keys. The main patch. . --- sql/structs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sql/structs.h') 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; -- cgit v1.2.1