mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
BUG#9123: Updates after Mats review
This commit is contained in:
parent
c401b960a2
commit
43a954666f
1 changed files with 2 additions and 2 deletions
|
@ -2107,10 +2107,10 @@ static void get_actual_table_name(const char *old_table_name,
|
|||
{
|
||||
MYSQL_RES *tableRes;
|
||||
MYSQL_ROW row;
|
||||
char query[ NAME_LEN + 50 ];
|
||||
char query[2*NAME_LEN+50];
|
||||
char show_name_buff[FN_REFLEN];
|
||||
DBUG_ENTER("get_actual_table_name");
|
||||
|
||||
char show_name_buff[FN_REFLEN];
|
||||
sprintf(query, "SHOW TABLES LIKE %s",
|
||||
quote_for_like(old_table_name, show_name_buff));
|
||||
if (mysql_query_with_error_report(sock, 0, query))
|
||||
|
|
Loading…
Reference in a new issue