From da5db2e19f775efcda5ea002670ff866e499ae64 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Fri, 14 Jan 2011 12:55:03 +0300 Subject: Backport of: 3723 oystein.grovlen@sun.com 2009-11-23 Bug#46548 (addendum) Remove KEY::extra_length. It is not in use. --- sql/structs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sql/structs.h') diff --git a/sql/structs.h b/sql/structs.h index fbbafafe3ea..86d1f12424e 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -75,7 +75,6 @@ typedef struct st_key { uint key_length; /* Tot length of key */ ulong flags; /* dupp key and pack flags */ uint key_parts; /* How many key_parts */ - uint extra_length; uint usable_key_parts; /* Should normally be = key_parts */ uint block_size; uint name_length; -- cgit v1.2.1 From e343a2c1347a0e99b363dbced913276d2355237f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 10 May 2011 18:19:11 +0200 Subject: small enhancement of the create table options feature: no unnecessary casting from void*, more type safety. typos fixed. --- sql/structs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/structs.h') diff --git a/sql/structs.h b/sql/structs.h index 64e69fca0d0..e2fd2140763 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -69,6 +69,7 @@ typedef struct st_key_part_info { /* Info about a key part */ } KEY_PART_INFO ; class engine_option_value; +struct ha_index_option_struct; typedef struct st_key { uint key_length; /* Tot length of key */ @@ -104,7 +105,7 @@ typedef struct st_key { struct st_table *table; /** reference to the list of options or NULL */ engine_option_value *option_list; - void *option_struct; /* structure with parsed options */ + ha_index_option_struct *option_struct; /* structure with parsed options */ } KEY; -- cgit v1.2.1