diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-05-10 18:19:11 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-05-10 18:19:11 +0200 |
commit | e343a2c1347a0e99b363dbced913276d2355237f (patch) | |
tree | d50faf1c32fa8c730777db0bbb97a3bf7aee4569 /sql/create_options.cc | |
parent | 27fb650b8bc53a9bad060230e054b303364aeb1e (diff) | |
download | mariadb-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/create_options.cc')
-rw-r--r-- | sql/create_options.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/create_options.cc b/sql/create_options.cc index a7124310279..42c69436897 100644 --- a/sql/create_options.cc +++ b/sql/create_options.cc @@ -258,7 +258,7 @@ static const size_t ha_option_type_sizeof[]= @retval FALSE OK */ -my_bool parse_option_list(THD* thd, void **option_struct, +my_bool parse_option_list(THD* thd, void *option_struct_arg, engine_option_value *option_list, ha_create_table_option *rules, my_bool suppress_warning, @@ -267,6 +267,7 @@ my_bool parse_option_list(THD* thd, void **option_struct, ha_create_table_option *opt; size_t option_struct_size= 0; engine_option_value *val= option_list; + void **option_struct= (void**)option_struct_arg; DBUG_ENTER("parse_option_list"); DBUG_PRINT("enter", ("struct: 0x%lx list: 0x%lx rules: 0x%lx suppres %u root 0x%lx", |