From 13a5a24c6170921bb97796d96ca9f0ac20e5308e Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 15 Mar 2003 04:34:06 +0200 Subject: [PATCH] Code cleanup sql/sql_parse.cc: Removed not needed test --- sql/sql_parse.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 24643f18ac7..8fe5922baf0 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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,