From 8dab51445ec9917abd7302891b9f8e8faa6ab548 Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Tue, 26 Oct 2004 20:31:41 +0200 Subject: Bug #6019 - SELECT tries to use too short prefix index on utf8 data Field_string::pack should respect max_length as Field_string::pack_key does --- sql/field.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sql/field.h') diff --git a/sql/field.h b/sql/field.h index 69410f4e6af..8887da1dc0f 100644 --- a/sql/field.h +++ b/sql/field.h @@ -927,7 +927,6 @@ public: void sort_string(char *buff,uint length); void sql_type(String &str) const; char *pack(char *to, const char *from, uint max_length=~(uint) 0); - char *pack_key(char *to, const char *from, uint max_length); const char *unpack(char* to, const char *from); int pack_cmp(const char *a,const char *b,uint key_length); int pack_cmp(const char *b,uint key_length); -- cgit v1.2.1