mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Merge a change from MySQL AB:
ChangeSet@2007-04-03 16:13:27+05:00, gluh@mysql.com Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte ==== storage/innobase/handler/ha_innodb.cc ==== 2007-04-03 16:13:25+05:00, gluh@mysql.com +2 -2 removed unnecessary multiplication
This commit is contained in:
parent
35cfa96a67
commit
7a1976fd7f
1 changed files with 2 additions and 2 deletions
|
@ -5974,8 +5974,8 @@ ha_innobase::get_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list)
|
||||||
FOREIGN_KEY_INFO f_key_info;
|
FOREIGN_KEY_INFO f_key_info;
|
||||||
LEX_STRING *name= 0;
|
LEX_STRING *name= 0;
|
||||||
uint ulen;
|
uint ulen;
|
||||||
char uname[NAME_LEN*3+1]; /* Unencoded name */
|
char uname[NAME_LEN+1]; /* Unencoded name */
|
||||||
char db_name[NAME_LEN*3+1];
|
char db_name[NAME_LEN+1];
|
||||||
const char *tmp_buff;
|
const char *tmp_buff;
|
||||||
|
|
||||||
tmp_buff= foreign->id;
|
tmp_buff= foreign->id;
|
||||||
|
|
Loading…
Reference in a new issue