summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-09-01 15:42:23 +0300
committerMonty <monty@mariadb.org>2019-09-01 15:42:23 +0300
commit1bbc593eaeeb2675ad3126e9753a5e945150b7ee (patch)
tree4b606d8c0e04ea3ef4a0d83f09e8a0682b5a751f /sql
parent6a490ca0fbcf0ceeaeee55bd6c98eb1ea8bcb8c5 (diff)
downloadmariadb-git-1bbc593eaeeb2675ad3126e9753a5e945150b7ee.tar.gz
Fixed compiler warning that broke builds
gcc 7.4.1
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_partition.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index f6afb7955b5..a3dbadd9025 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -7676,9 +7676,8 @@ static void set_up_range_analysis_info(partition_info *part_info)
switch (part_info->part_type) {
case VERSIONING_PARTITION:
if (!part_info->vers_info->interval.is_set())
- {
break;
- }
+ /* Fall through */
case RANGE_PARTITION:
case LIST_PARTITION:
if (!part_info->column_list)