summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomas@poseidon.(none) <>2004-08-23 09:15:42 +0000
committertomas@poseidon.(none) <>2004-08-23 09:15:42 +0000
commitefac41149c8e5180894bd52f22267e0060b448cc (patch)
tree35a25c8c8cb50f79989589bc36c1c001031d3e9d
parent552d841be211a5f5f3d7a66dfed785e90a8ebf1b (diff)
downloadmariadb-git-efac41149c8e5180894bd52f22267e0060b448cc.tar.gz
small ndb switch fix
-rw-r--r--sql/mysqld.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index c95c9f5e79f..3a1c66a52f3 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -6004,11 +6004,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
have_ndbcluster= SHOW_OPTION_DISABLED;
#endif
break;
- case OPT_NDB_CONNECTSTRING:
#ifdef HAVE_NDBCLUSTER_DB
+ case OPT_NDB_CONNECTSTRING:
have_ndbcluster= SHOW_OPTION_YES;
-#endif
break;
+#endif
case OPT_INNODB:
#ifdef HAVE_INNOBASE_DB
if (opt_innodb)