Skip to content

Commit 99f67d7

Browse files
author
Hery Ramilison
committed
Revert "BUG#27531186: BUG#89624: Ensure that we search the right paths for ndb_mgm binary"
1 parent c47a3bb commit 99f67d7

File tree

1 file changed

+1
-20
lines changed
  • storage/ndb/mcc/frontend/js/mcc/configuration

1 file changed

+1
-20
lines changed

storage/ndb/mcc/frontend/js/mcc/configuration/deploy.js

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,16 +1301,7 @@ function getStopProcessCommands(process) {
13011301
sc.addopt("--ndb-connectstring", getConnectstring());
13021302
sc.addopt("--execute", "shutdown");
13031303
sc.progTitle = "Running ndb_mgm -e shutdown to take down cluster";
1304-
//This is CLIENT command thus probably in /usr/bin and not /usr/sbin
1305-
//(default install directory) so we have to use autocomplete.
1306-
if(!isWin) {
1307-
var instDir = sc.msg.file.path;
1308-
//NO path prefix!
1309-
sc.msg.file.path = '';
1310-
//Look for ndb_mgm in InstallDirectory, /usr/bin' and in PATH.
1311-
sc.msg.file.autoComplete = [instDir, '/usr/bin/',''];
1312-
}
1313-
//mcc.util.dbg("SC for ndb_mgm is " + sc + ".");
1304+
13141305
if(!isWin) {
13151306
sc.isDone = function ()
13161307
{ return mcc.gui.getStatii(nodeid) =="UNKNOWN" };
@@ -1328,16 +1319,6 @@ function getStopProcessCommands(process) {
13281319
getEffectiveInstanceValue(process, "Socket")));
13291320
sc.progTitle = "mysqldadmin shutdown on node "+nodeid;
13301321
sc.nodeid = nodeid;
1331-
//This is CLIENT command thus probably in /usr/bin and not /usr/sbin
1332-
//(default install directory) so we have to use autocomplete.
1333-
if(!isWin) {
1334-
var instDir = sc.msg.file.path;
1335-
//NO path prefix!
1336-
sc.msg.file.path = '';
1337-
//Look for mysqladmin in InstallDirectory, /usr/bin' and in PATH.
1338-
sc.msg.file.autoComplete = [instDir, '/usr/bin/',''];
1339-
}
1340-
//mcc.util.dbg("SC for mysqladmin is " + sc + ".");
13411322
if (!isWin) {
13421323
sc.isDone = function ()
13431324
{ return mcc.gui.getStatii(nodeid) == "NO_CONTACT" };

0 commit comments

Comments
 (0)