summaryrefslogtreecommitdiff
path: root/sql/parse_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/parse_file.cc')
-rw-r--r--sql/parse_file.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/parse_file.cc b/sql/parse_file.cc
index 90d766f15d2..751ca180f97 100644
--- a/sql/parse_file.cc
+++ b/sql/parse_file.cc
@@ -483,8 +483,7 @@ frm_error:
my_error(ER_FPARSER_BAD_HEADER, MYF(0), file_name->str);
DBUG_RETURN(0);
}
- else
- DBUG_RETURN(parser); // upper level have to check parser->ok()
+ DBUG_RETURN(parser); // upper level have to check parser->ok()
}