mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Code cleanup
sql/sql_parse.cc: Removed not needed test
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user