Bug #24191 ndb_size.tmpl missing in distributions
Submitted: 10 Nov 2006 14:21 Modified: 14 Feb 2007 3:18
Reporter: Johan Andersson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.27, 5.1.13, 5.1.14, 5.1.15 OS:Linux (Linux)
Assigned to: Kent Boortz CPU Architecture:Any

[10 Nov 2006 14:21] Johan Andersson
Description:
ndb_size.tmpl missing in distribution
not possible to use ndb_size.pl without

How to repeat:
-

Suggested fix:
add it
[25 Nov 2006 7:45] Valeriy Kravchuk
Thank you for a problem report. What exact binary packages do you mean by "distribution"? I have this file in latest 5.0-BK and 5.1-BK sources. I did 

make dist

and then:

openxs@suse:~/work/mysql-5.0> tar ztvf mysql-5.0.32.tar.gz | grep ndb_size
-rw-rw-r-- 1000/100      10776 2006-11-02 10:26:40 mysql-5.0.32/ndb/tools/ndb_si
ze.pl
-rw-rw-r-- 1000/100       5587 2006-11-02 10:26:40 mysql-5.0.32/ndb/tools/ndb_si
ze.tmpl

So, looks like it should be there in current version(s).
[9 Jan 2007 8:23] Robin Powell
sv-furlbuild1i:/tmp> tar -ztvf mysql-5.1.14-beta-linux-i686-glibc23.tar.gz | grep -i ndb_size
-rwxr-xr-x mysqldev/mysqldev    10776 2006-12-06 10:43:44 mysql-5.1.14-beta-linux-i686-glibc23/bin/ndb_size.pl

And that's it.  Just downloaded it today.

-Robin
[8 Feb 2007 18:02] Valeriy Kravchuk
Verified just as described, both with 5.1.14 and 5.1.15:

mysqldev@production:~> tar -ztvf my/archive/mysql/mysql-5.1.15-beta/dist/packag
es/mysql-5.1.15-beta-linux-i686-glibc23.tar.gz | grep -i ndb_size
-rwxr-xr-x mysqldev/mysqldev    10776 2007-02-01 09:39:16 mysql-5.1.15-beta-linu
x-i686-glibc23/bin/ndb_size.pl

mysqldev@production:~> tar -ztvf my/archive/mysql/mysql-5.1.14-beta/dist/packag
es/mysql-5.1.14-beta-linux-i686-glibc23.tar.gz | grep -i ndb_size
-rwxr-xr-x mysqldev/mysqldev    10776 2006-12-06 19:43:44 mysql-5.1.14-beta-linu
x-i686-glibc23/bin/ndb_size.pl

So, no ndb_size.tmpl.
[8 Feb 2007 23:08] Kent Boortz
This will be corrected in 5.0.36 and 5.1.16
[8 Feb 2007 23:10] 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/19589

ChangeSet@1.2405, 2007-02-09 00:10:40+01:00, kent@mysql.com +1 -0
  make_binary_distribution.sh:
    Copy "ndb_size.tmpl" into binary distribution (Bug#24191)
[9 Feb 2007 14:45] Daniel Fischer
Patch okay to already having been pushed.
[12 Feb 2007 10:32] Joerg Bruehe
Patch is pushed to 5.0.36 (this can be documented),
but not yet pushed into 5.1 (expect 5.1.16).

Please set the status back to "patch queued"
unless we get it pushed to 5.1 before you get it documented.
[12 Feb 2007 15:30] Jon Stephens
Documented bugfix in 5.0.36 changelog; set status back to Patch Queued per developer note.
[13 Feb 2007 9:43] Joerg Bruehe
Late yesterday, it was also pushed into 5.1.16.
[14 Feb 2007 3:18] 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 fix for 5.1 in 5.1.16 changelog.
[27 Feb 2007 15:52] Oli Sennhauser
Hi Valeriy

I take usually this one:

mysql-5.1.15-beta-linux-i686-glibc23.tar.gz

and there it is not in. I just verified it again now. Could it be that the build process skips it??? It is for example in the src tar ball!
[28 Feb 2007 7:20] Valeriy Kravchuk
Oli,

Note: "Documented fix for 5.1 in 5.1.16 changelog." So, it may still be NOT in 5.1.15.