1
0
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:
unknown
2003-03-15 04:34:06 +02:00
parent f927267680
commit 13a5a24c61

View File

@@ -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,