summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-03-15 04:34:06 +0200
committerunknown <monty@mashka.mysql.fi>2003-03-15 04:34:06 +0200
commit13a5a24c6170921bb97796d96ca9f0ac20e5308e (patch)
tree50aa30c291329fb23c48bce448d213bfff949944 /sql/sql_parse.cc
parentf927267680b5a369101b625efe95c857d6bb854b (diff)
downloadmariadb-git-13a5a24c6170921bb97796d96ca9f0ac20e5308e.tar.gz
Code cleanup
sql/sql_parse.cc: Removed not needed test
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc5
1 files changed, 0 insertions, 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,