Browse Source

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

additional fix


sql/mysql_priv.h:
  additional fix
pull/374/head
unknown 19 years ago
parent
commit
5152132b47
  1. 2
      sql/mysql_priv.h

2
sql/mysql_priv.h

@ -366,7 +366,7 @@ MY_LOCALE *my_locale_by_number(uint number);
Maximum length of time zone name that we support
(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 */
#ifndef MYSQL_CLIENT

Loading…
Cancel
Save