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/field.h | |
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/field.h')
-rw-r--r-- | sql/field.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h index 5302b3de821..928f8ff2529 100644 --- a/sql/field.h +++ b/sql/field.h @@ -32,6 +32,7 @@ class Send_field; class Protocol; class Create_field; class Relay_log_info; +struct ha_field_option_struct; struct st_cache_field; int field_conv(Field *to,Field *from); @@ -137,7 +138,7 @@ public: const char *field_name; /** reference to the list of options or NULL */ engine_option_value *option_list; - void *option_struct; /* structure with parsed options */ + ha_field_option_struct *option_struct; /* structure with parsed options */ LEX_STRING comment; /* Field is part of the following keys */ key_map key_start, part_of_key, part_of_key_not_clustered; @@ -2155,7 +2156,7 @@ public: Field *field; // For alter table engine_option_value *option_list; /** structure with parsed options (for comparing fields in ALTER TABLE) */ - void *option_struct; + ha_field_option_struct *option_struct; uint8 row,col,sc_length,interval_id; // For rea_create_table uint offset,pack_flag; |