diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-20 22:46:25 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-20 22:46:25 +0300 |
commit | dc112d2f487974d3871f530a5472aebfc09861fb (patch) | |
tree | 3ff67c5f721e8d03a1566a927b782c007dbdf9a2 | |
parent | 47cd984a3ac4c4a5800879df77a89e1af575714f (diff) | |
download | mariadb-git-dc112d2f487974d3871f530a5472aebfc09861fb.tar.gz |
Fix -Wimplicit-fallthrough warnings (no functional change)
-rw-r--r-- | client/mysql.cc | 1 | ||||
-rw-r--r-- | sql/sql_table.cc | 1 |
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; |