Commit 13a5a24c authored by unknown's avatar unknown

Code cleanup


sql/sql_parse.cc:
  Removed not needed test
parent f9272676
......@@ -1521,11 +1521,6 @@ mysql_execute_command(void)
if (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;
// fetch_master_table will send the error to the client on failure
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