[Commits] 0aeff8c36ad: Fix compiler error.

jan jan.lindstrom at mariadb.com
Mon Aug 21 14:48:36 EEST 2017


revision-id: 0aeff8c36add46db1de4287a9461d084b148c31f (mariadb-10.1.26-10-g0aeff8c36ad)
parent(s): c23efc7d50530570e6c13207f3c76adcb9237346
author: Jan Lindström
committer: Jan Lindström
timestamp: 2017-08-21 14:48:30 +0300
message:

Fix compiler error.

---
 sql/sql_parse.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 81b71f71760..f5721d2ca2f 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -3663,13 +3663,12 @@ mysql_execute_command(THD *thd)
 #endif /* EMBEDDED_LIBRARY */
   case SQLCOM_SHOW_CREATE:
   {
-    DBUG_ASSERT(first_table == all_tables && first_table != 0);
+     DBUG_ASSERT(first_table == all_tables && first_table != 0);
 #ifdef DONT_ALLOW_SHOW_COMMANDS
     my_message(ER_NOT_ALLOWED_COMMAND, ER_THD(thd, ER_NOT_ALLOWED_COMMAND),
                MYF(0)); /* purecov: inspected */
     goto error;
 #else
-    {
       WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_SHOW);
 
      /*
@@ -3892,7 +3891,6 @@ mysql_execute_command(THD *thd)
       DBUG_PRINT("debug", ("Just after generate_incident()"));
     }
 #endif
-  }
   /* fall through */
   case SQLCOM_INSERT:
   {


More information about the commits mailing list