From c897c59ceb151dfa489ea38e45c7f877ac8cae74 Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Fri, 30 Oct 2009 21:08:34 +0100 Subject: Fixed so that character set constants are encoded as hex strings in frm file, but as utf8 strings in the same manner as default values in show create table and information schema tables --- sql/sql_partition.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sql/sql_partition.h') diff --git a/sql/sql_partition.h b/sql/sql_partition.h index e9de5f85870..97b361c4b43 100644 --- a/sql/sql_partition.h +++ b/sql/sql_partition.h @@ -75,6 +75,11 @@ 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); void get_full_part_id_from_key(const TABLE *table, uchar *buf, KEY *key_info, const key_range *key_spec, -- cgit v1.2.1