summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2019-11-21 18:33:52 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2019-11-21 18:33:52 +0100
commit7a9eca1191c315b6009e4356d96bd3c4b9fa2415 (patch)
treed711529e249f5e690538a6b0edb483612d525b9d
parent3ad054170cafc9dc90b18f4e857f3a10545fc06d (diff)
downloadmariadb-git-7a9eca1191c315b6009e4356d96bd3c4b9fa2415.tar.gz
Fix compile error (imcomplete switch) in ha_connect.cc
-rw-r--r--storage/connect/ha_connect.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc
index 2bc9537f81b..79175724158 100644
--- a/storage/connect/ha_connect.cc
+++ b/storage/connect/ha_connect.cc
@@ -1045,6 +1045,8 @@ TABTYPE ha_connect::GetRealType(PTOS pos)
case TAB_REST:
type = TAB_NIY;
break;
+ default:
+ break;
} // endswitch type
#endif // REST_SUPPORT
@@ -5634,6 +5636,8 @@ static int connect_assisted_discovery(handlerton *, THD* thd,
case TAB_CSV:
ttp = TAB_REST;
break;
+ default:
+ break;
} // endswitch type
#endif // REST_SUPPORT
} // endif ttp