summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-05-10 18:19:11 +0200
committerSergei Golubchik <sergii@pisem.net>2011-05-10 18:19:11 +0200
commite343a2c1347a0e99b363dbced913276d2355237f (patch)
treed50faf1c32fa8c730777db0bbb97a3bf7aee4569 /sql/structs.h
parent27fb650b8bc53a9bad060230e054b303364aeb1e (diff)
downloadmariadb-git-e343a2c1347a0e99b363dbced913276d2355237f.tar.gz
small enhancement of the create table options feature:
no unnecessary casting from void*, more type safety. typos fixed.
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h3
1 files changed, 2 insertions, 1 deletions
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;