summaryrefslogtreecommitdiff
path: root/storage/federatedx
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-07-19 19:46:07 +0200
committerSergei Golubchik <serg@mariadb.org>2017-07-20 20:13:28 +0200
commitda2a838628796453c6ab93d51eca9e5aae45791d (patch)
treee9e0c52cdea910774cfcdd4f1c72980be340ed0d /storage/federatedx
parent2f07709aed863ea1852a78a0d6ab718e49df8cca (diff)
downloadmariadb-git-da2a838628796453c6ab93d51eca9e5aae45791d.tar.gz
MDEV-12824 GCC 7 warning: this statement may fall through [-Wimplicit-fallthrough=]
Diffstat (limited to 'storage/federatedx')
-rw-r--r--storage/federatedx/ha_federatedx.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc
index aae26758c78..0a24fe9c910 100644
--- a/storage/federatedx/ha_federatedx.cc
+++ b/storage/federatedx/ha_federatedx.cc
@@ -1342,6 +1342,7 @@ bool ha_federatedx::create_where_from_key(String *to,
}
break;
}
+ /* fall through */
case HA_READ_KEY_OR_NEXT:
DBUG_PRINT("info", ("federatedx HA_READ_KEY_OR_NEXT %d", i));
if (emit_key_part_name(&tmp, key_part) ||
@@ -1361,6 +1362,7 @@ bool ha_federatedx::create_where_from_key(String *to,
goto err;
break;
}
+ /* fall through */
case HA_READ_KEY_OR_PREV:
DBUG_PRINT("info", ("federatedx HA_READ_KEY_OR_PREV %d", i));
if (emit_key_part_name(&tmp, key_part) ||