mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
reverted default setting of --ndbcluster if --ndb-connectstring is given
This commit is contained in:
@ -1451,9 +1451,9 @@ then
|
|||||||
then
|
then
|
||||||
echo "Starting ndbcluster"
|
echo "Starting ndbcluster"
|
||||||
./ndb/ndbcluster --port-base=$NDBCLUSTER_PORT --small --diskless --initial --data-dir=$MYSQL_TEST_DIR/var || exit 1
|
./ndb/ndbcluster --port-base=$NDBCLUSTER_PORT --small --diskless --initial --data-dir=$MYSQL_TEST_DIR/var || exit 1
|
||||||
USE_NDBCLUSTER="--ndb-connectstring=\"host=localhost:$NDBCLUSTER_PORT\""
|
USE_NDBCLUSTER="$USE_NDBCLUSTER --ndb-connectstring=\"host=localhost:$NDBCLUSTER_PORT\""
|
||||||
else
|
else
|
||||||
USE_NDBCLUSTER="--ndb-connectstring=\"$USE_RUNNING_NDBCLUSTER\""
|
USE_NDBCLUSTER="$USE_NDBCLUSTER --ndb-connectstring=\"$USE_RUNNING_NDBCLUSTER\""
|
||||||
echo "Using ndbcluster at $USE_NDBCLUSTER"
|
echo "Using ndbcluster at $USE_NDBCLUSTER"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -6004,11 +6004,6 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
have_ndbcluster= SHOW_OPTION_DISABLED;
|
have_ndbcluster= SHOW_OPTION_DISABLED;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
#ifdef HAVE_NDBCLUSTER_DB
|
|
||||||
case OPT_NDB_CONNECTSTRING:
|
|
||||||
have_ndbcluster= SHOW_OPTION_YES;
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
case OPT_INNODB:
|
case OPT_INNODB:
|
||||||
#ifdef HAVE_INNOBASE_DB
|
#ifdef HAVE_INNOBASE_DB
|
||||||
if (opt_innodb)
|
if (opt_innodb)
|
||||||
|
Reference in New Issue
Block a user