Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte

additional fix
parent 2d47f0cb
...@@ -366,7 +366,7 @@ MY_LOCALE *my_locale_by_number(uint number); ...@@ -366,7 +366,7 @@ MY_LOCALE *my_locale_by_number(uint number);
Maximum length of time zone name that we support Maximum length of time zone name that we support
(Time zone name is char(64) in db). mysqlbinlog needs it. (Time zone name is char(64) in db). mysqlbinlog needs it.
*/ */
#define MAX_TIME_ZONE_NAME_LENGTH (NAME_LEN + 8) #define MAX_TIME_ZONE_NAME_LENGTH (NAME_LEN + 1)
/* The rest of the file is included in the server only */ /* The rest of the file is included in the server only */
#ifndef MYSQL_CLIENT #ifndef MYSQL_CLIENT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment