Bug #19620 ndb_mgm help needs help
Submitted: 8 May 2006 16:39 Modified: 17 Nov 2006 16:01
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.11 OS:Linux (Linux 32 Bit OS)
Assigned to: Guangbao Ni CPU Architecture:Any

[8 May 2006 16:39] Jonathan Miller
Description:
The help command in side ndb_mgm can not give details when help command is selected.

Examples:

ndb_mgm> Help show
---------------------------------------------------------------------------
 NDB Cluster -- Management Client -- Help for SHOW command
---------------------------------------------------------------------------
SHOW prints NDB Cluster information

SHOW               Print information about cluster

Gives detailed information, but any of the others:

ndb_mgm> help CLUSTERLOG
Invalid command: CLUSTERLOG
Type HELP for help.

ndb_mgm> help restart
Invalid command: restart
Type HELP for help.

ndb_mgm> help id restart
Invalid command: id restart
Type HELP for help.

ndb_mgm> help start
Invalid command: start
Type HELP for help.

ndb_mgm> help connect
Invalid command: connect
Type HELP for help.

In addition, there is no detail on what -i or -n switches/options do for you :-(
<id> RESTART [-n] [-i]                 Restart DB node

How to repeat:
See above

Suggested fix:
help command should give detailed information just like "help show". In addition, we should never assume that a customer/user will know what an option does for them. We should always be verbose about commands and their options
[10 Aug 2006 2:16] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10237

ChangeSet@1.2243, 2006-08-09 18:45:21+08:00, root@dev3-127.(none) +1 -0
  BUG#19620 ndb_mgm help needs help
  
  
  Help command has added for each command  inside the ndb_mgm. There is only 1 file changed
[10 Aug 2006 10:30] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10252

ChangeSet@1.2243, 2006-08-10 18:29:03+08:00, root@dev3-127.(none) +1 -0
  BUG#19620 ndb_mgm help needs help
  
  
  Help command has added for each command  inside the ndb_mgm. There is only 1 file changed
[14 Aug 2006 5:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10330

ChangeSet@1.2242, 2006-08-14 13:02:03+08:00, gni@dev3-127.(none) +1 -0
  BUG#19620 ndb_mgm help needs help
[15 Aug 2006 8:53] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10432

ChangeSet@1.2242, 2006-08-15 16:52:21+08:00, gni@dev3-127.(none) +1 -0
  BUG#19620 ndb_mgm help needs help
[15 Aug 2006 13:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10474

ChangeSet@1.2249, 2006-08-15 21:01:50+08:00, gni@dev3-127.(none) +1 -0
  BUG#19620 ndb_mgm help needs help
[16 Aug 2006 4:06] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10518

ChangeSet@1.2251, 2006-08-16 12:03:59+08:00, gni@dev3-127.(none) +1 -0
  BUG#19620 ndb_mgm help needs help
[16 Aug 2006 6:02] Guangbao Ni
Push to mysql-5.0-ndb-bj and mysql-5.1-ndb-bj trees
[10 Oct 2006 18:28] Jonas Oreland
pushed into 5.1.12
[17 Oct 2006 1:12] Guangbao Ni
Fixed in 5.1.12
[1 Nov 2006 14:34] Jonas Oreland
pushed into 5.0.29
[17 Nov 2006 16:02] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html

Documented bugfix for 5.0.30 and 5.1.12.