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.cc | |
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.cc')
-rw-r--r-- | sql/sql_partition.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index dbac53ed5f6..65a10a2120c 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -3700,9 +3700,9 @@ void get_partition_set(const TABLE *table, byte *buf, const uint index, possible to retrace this given an item tree. */ -bool mysql_unpack_partition(THD *thd, const uchar *part_buf, - uint part_info_len, - uchar *part_state, uint part_state_len, +bool mysql_unpack_partition(THD *thd, + const char *part_buf, uint part_info_len, + const char *part_state, uint part_state_len, TABLE* table, bool is_create_table_ind, handlerton *default_db_type) { |