Bug #27683 Incorrect description for ndb_restore --print
Submitted: 6 Apr 2007 9:01 Modified: 15 Sep 2007 13:11
Reporter: Jon Stephens Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1, 5.0, 5.1 OS:Any
Assigned to: Guangbao Ni CPU Architecture:Any
Tags: --print, ndb_restore

[6 Apr 2007 9:01] Jon Stephens
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


--print             Print metadata and log to stdout
[10 Apr 2007 6: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 6: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 6: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:


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 12:01] Guangbao Ni
push into mysql-5.0-ndb-bj and mysql-5.1-new-ndb-bj
[14 Sep 2007 16:25] Bugs System
Pushed into 5.0.50
[14 Sep 2007 16:26] Bugs System
Pushed into 5.1.23-beta
[15 Sep 2007 13: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


Documented bugfix in 5.0.50 and 5.1.23 changelogs.
[21 Sep 2007 8:36] Jon Stephens
Also documented in mysql-5.1.22-ndb-6.2.6 changelog.