From a09a603d8346afb2be73d1a8f04f00c5fa21de7f Mon Sep 17 00:00:00 2001 From: "bar@mysql.com" <> Date: Thu, 2 Dec 2004 12:48:43 +0400 Subject: Bug #6379: ENUM values are incorrectly converted - add_field_to_list() now uses String instead of TYPELIB to be able to distinguish literals 'aaa' and hex literals 0xaabbcc. - move some code from add_field_to_list() where we don't know column charset yet, to mysql_prepare_table(), where we do. --- sql/field.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/field.h') diff --git a/sql/field.h b/sql/field.h index 8887da1dc0f..bb999222381 100644 --- a/sql/field.h +++ b/sql/field.h @@ -1198,6 +1198,7 @@ public: uint decimals,flags,pack_length; Field::utype unireg_check; TYPELIB *interval; // Which interval to use + List interval_list; CHARSET_INFO *charset; Field::geometry_type geom_type; Field *field; // For alter table -- cgit v1.2.1