Bug #27683 Incorrect description for ndb_restore --print
Submitted: 6 Apr 2007 11:01 Modified: 15 Sep 2007 15:11
Reporter: Jon Stephens
Status: Closed
Category:Server: Cluster Severity:S3 (Non-critical)
Version:4.1, 5.0, 5.1 OS:Any
Assigned to: Bugs System Target Version:
Tags: ndb_restore, --print

[6 Apr 2007 11:01] Jon Stephens
Description:
The output from ndb_restore -? includes this descirption of the --print option:

--print             Print data and log to stdout

However, what this option does is actually to print metadata plus log.

How to repeat:
Observe the output of ndb_restore --print

Suggested fix:
Change the description in the --help/--usage/-? output from

--print             Print data and log to stdout

to

--print             Print metadata and log to stdout
[10 Apr 2007 8:09] Valeriy Kravchuk
Thank you for a problem report. Verified just as described for latest 4.1-BK, 5.0-BK and
5.1-BK.
[25 Jul 2007 8:50] Guangbao Ni
--print             Print data and log to stdout
Here data include meta data and data (tuples)

So if you want to change it, it should be:
--print   Print metadata, data and log to stdout
[25 Jul 2007 8:59] 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/31528

ChangeSet@1.2512, 2007-07-25 14:53:25+08:00, gni@dev3-221.dev.cn.tlan +1 -0
  BUG#27683 Incorrect description for ndb_restore --print
[8 Aug 2007 14:01] Guangbao Ni
push into mysql-5.0-ndb-bj and mysql-5.1-new-ndb-bj
[14 Sep 2007 18:25] Bugs System
Pushed into 5.0.50
[14 Sep 2007 18:26] Bugs System
Pushed into 5.1.23-beta
[15 Sep 2007 15:11] 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 in 5.0.50 and 5.1.23 changelogs.
[21 Sep 2007 10:36] Jon Stephens
Also documented in mysql-5.1.22-ndb-6.2.6 changelog.