Commit 83a242a0 authored by unknown's avatar unknown

Merge mysql.com:/home/bkroot/mysql-4.1 into mysql.com:/home/bk/b9123-4.1


client/mysqldump.c:
  Auto merged
parents 32e027ea 0e802637
......@@ -2110,7 +2110,9 @@ static void get_actual_table_name(const char *old_table_name,
char query[ NAME_LEN + 50 ];
DBUG_ENTER("get_actual_table_name");
sprintf( query, "SHOW TABLES LIKE '%s'", old_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))
{
safe_exit(EX_MYSQLERR);
......
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