1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

post-fix patch for MDEV-5850: MySQL Bug#21317: SHOW CREATE DATABASE does not obey to lower_case_table_names

This commit is contained in:
Sergei Golubchik
2014-03-27 23:23:28 +01:00
parent 9a06e531f4
commit c386daf0c0
2 changed files with 7 additions and 3 deletions

View File

@ -3997,7 +3997,7 @@ end_with_restore_list:
strmov(db_name.str, lex->name.str);
if (check_db_name(&db_name))
{
my_error(ER_WRONG_DB_NAME, MYF(0), db_name);
my_error(ER_WRONG_DB_NAME, MYF(0), db_name.str);
break;
}
res= mysqld_show_create_db(thd, &db_name, &lex->name, &lex->create_info);