summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-06-02 08:25:12 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-06-02 08:25:44 +0300
commita8434c6c59e291b65f1e294cafa4555470c3094c (patch)
tree057774599449100abe5925053249a4b7a700b921 /sql
parent2fb4407827ecd6cbf52e210a8d9370b4560ddd5b (diff)
downloadmariadb-git-a8434c6c59e291b65f1e294cafa4555470c3094c.tar.gz
MDEV-25730 fixup: GCC -Og -Wmaybe-uninitialized
Silence a warning about an uninitialized variable that was introduced by commit d8fa71a089aa5cbe569e7f8b6fa67326a9ecab2b.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_admin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index 3fa00b81f2e..41af1e22de6 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -515,6 +515,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
if (thd->check_killed())
{
+ open_error= false;
fatal_error= true;
result_code= HA_ADMIN_FAILED;
goto send_result;