summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mysql.cc1
-rw-r--r--sql/sql_table.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index fb9ffbef669..f2e7b9150fa 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1895,6 +1895,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
usage(1);
status.exit_status= 0;
mysql_end(-1);
+ break;
case 'I':
case '?':
usage(0);
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 8a68d86659a..afa27d790d4 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -1174,6 +1174,7 @@ static int execute_ddl_log_action(THD *thd, DDL_LOG_ENTRY *ddl_log_entry)
action in the log entry by stepping up the phase.
*/
}
+ /* fall through */
case DDL_LOG_RENAME_ACTION:
{
error= TRUE;