summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-08-12 14:12:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-08-12 14:14:17 +0300
commit1217e4a0c05eff7a394e46e64dffc849c9edda22 (patch)
tree142c57a9c814f2c8b53fbffee64ee84b6060ea53
parentb2a387a3f1a0603482d184241979f0172cba45cf (diff)
downloadmariadb-git-1217e4a0c05eff7a394e46e64dffc849c9edda22.tar.gz
Fix -Wimplicit-fallthrough
-rw-r--r--storage/innobase/include/data0type.ic4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/innobase/include/data0type.ic b/storage/innobase/include/data0type.ic
index 2bf21513c1c..d31debef24a 100644
--- a/storage/innobase/include/data0type.ic
+++ b/storage/innobase/include/data0type.ic
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2018, MariaDB Corporation.
+Copyright (c) 2018, 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -427,6 +427,7 @@ dtype_get_fixed_size_low(
return(0);
}
#endif /* UNIV_DEBUG */
+ /* fall through */
case DATA_CHAR:
case DATA_FIXBINARY:
case DATA_INT:
@@ -503,6 +504,7 @@ dtype_get_min_size_low(
return(0);
}
#endif /* UNIV_DEBUG */
+ /* fall through */
case DATA_CHAR:
case DATA_FIXBINARY:
case DATA_INT: