@@ -1301,16 +1301,7 @@ function getStopProcessCommands(process) {
1301
1301
sc . addopt ( "--ndb-connectstring" , getConnectstring ( ) ) ;
1302
1302
sc . addopt ( "--execute" , "shutdown" ) ;
1303
1303
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
+
1314
1305
if ( ! isWin ) {
1315
1306
sc . isDone = function ( )
1316
1307
{ return mcc . gui . getStatii ( nodeid ) == "UNKNOWN" } ;
@@ -1328,16 +1319,6 @@ function getStopProcessCommands(process) {
1328
1319
getEffectiveInstanceValue ( process , "Socket" ) ) ) ;
1329
1320
sc . progTitle = "mysqldadmin shutdown on node " + nodeid ;
1330
1321
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 + ".");
1341
1322
if ( ! isWin ) {
1342
1323
sc . isDone = function ( )
1343
1324
{ return mcc . gui . getStatii ( nodeid ) == "NO_CONTACT" } ;
0 commit comments