mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed a few bugs in hex string generation, in call to val_str for partition expressions, also made code reusable for DEFAULT handling to fix BUG#48464 by introducing function get_cs_converted_string_value, added partition_utf8 test case for UTF8 outputs
This commit is contained in:
@@ -75,11 +75,12 @@ void get_partition_set(const TABLE *table, uchar *buf, const uint index,
|
||||
const key_range *key_spec,
|
||||
part_id_range *part_spec);
|
||||
uint get_partition_field_store_length(Field *field);
|
||||
int get_converted_part_value_from_string(Item *item,
|
||||
String *res,
|
||||
CHARSET_INFO *cs,
|
||||
String *val_conv,
|
||||
bool use_hex);
|
||||
int get_cs_converted_part_value_from_string(THD *thd,
|
||||
Item *item,
|
||||
String *input_str,
|
||||
String *output_str,
|
||||
CHARSET_INFO *cs,
|
||||
bool use_hex);
|
||||
void get_full_part_id_from_key(const TABLE *table, uchar *buf,
|
||||
KEY *key_info,
|
||||
const key_range *key_spec,
|
||||
|
Reference in New Issue
Block a user