Commit a6482b13 authored by monty@mashka.mysql.fi's avatar monty@mashka.mysql.fi

Code cleanup

parent bd141363
...@@ -1521,11 +1521,6 @@ mysql_execute_command(void) ...@@ -1521,11 +1521,6 @@ mysql_execute_command(void)
if (error) if (error)
goto error; goto error;
} }
if (strlen(tables->real_name) > NAME_LEN)
{
net_printf(&thd->net,ER_WRONG_TABLE_NAME,tables->real_name);
break;
}
LOCK_ACTIVE_MI; LOCK_ACTIVE_MI;
// fetch_master_table will send the error to the client on failure // fetch_master_table will send the error to the client on failure
if (!fetch_master_table(thd, tables->db, tables->real_name, if (!fetch_master_table(thd, tables->db, tables->real_name,
......
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