diff options
author | kostja@bodhi.local <> | 2007-03-27 21:09:56 +0400 |
---|---|---|
committer | kostja@bodhi.local <> | 2007-03-27 21:09:56 +0400 |
commit | b42b41640067e07fe8d22e67897e4f1a000291c2 (patch) | |
tree | 6daa52a8ca86c0e36c1ccc12d201cfb452f71156 /sql/sql_partition.h | |
parent | e56c6d2f25592af24d1f222f822f5b9899221558 (diff) | |
download | mariadb-git-b42b41640067e07fe8d22e67897e4f1a000291c2.tar.gz |
Remove unnecessary casts to uchar. The casts are stemming from
the lexer API which internally uses unsigned char variables to
address its state map. The implementation of the lexer should be
internal to the lexer, and not influence the rest of the code.
Diffstat (limited to 'sql/sql_partition.h')
-rw-r--r-- | sql/sql_partition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_partition.h b/sql/sql_partition.h index 7ed43527688..e0c0f1c5bd3 100644 --- a/sql/sql_partition.h +++ b/sql/sql_partition.h @@ -77,9 +77,9 @@ void get_full_part_id_from_key(const TABLE *table, byte *buf, KEY *key_info, const key_range *key_spec, part_id_range *part_spec); -bool mysql_unpack_partition(THD *thd, const uchar *part_buf, +bool mysql_unpack_partition(THD *thd, const char *part_buf, uint part_info_len, - uchar *part_state, uint part_state_len, + const char *part_state, uint part_state_len, TABLE *table, bool is_create_table_ind, handlerton *default_db_type); void make_used_partitions_str(partition_info *part_info, String *parts_str); |