summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-07-28 10:33:16 +0200
committerSergei Golubchik <serg@mariadb.org>2020-07-28 10:34:49 +0200
commitfcb14a0b53f07984b4a908fe41abc0dcef8aca9d (patch)
tree6dd18d4f6f44c837ca61fa326bfd4d547fc95fad /sql/sql_parse.cc
parentcf98e6b36efda8bba8fa092e59e3ccda9139ac55 (diff)
downloadmariadb-git-10.4-MDEV-21201.tar.gz
cleanup: formatting10.4-MDEV-21201
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 9f7cf514ac3..192ba290ce8 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -7813,7 +7813,6 @@ void mysql_parse(THD *thd, char *rawbuf, uint length,
bool is_com_multi,
bool is_next_command)
{
- int error __attribute__((unused));
DBUG_ENTER("mysql_parse");
DBUG_EXECUTE_IF("parser_debug", turn_parser_debug_on(););
@@ -7893,6 +7892,7 @@ void mysql_parse(THD *thd, char *rawbuf, uint length,
(char *) thd->security_ctx->host_or_ip,
0);
+ int error __attribute__((unused));
error= mysql_execute_command(thd);
MYSQL_QUERY_EXEC_DONE(error);
}