Bug #56397 The version of NDB in MySQL Server should be constant

Submitted: 31 Aug 2010 6:51 Modified: 15 Nov 2010 19:51
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.5.7-m3 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any
Tags: SEAGULL

[31 Aug 2010 6:51] Magnus Blåudd
Description:
While reviewing the version number scheme for MySQL Server with NDB and MySQL Cluster the following problem was found.

The version number of NDB in MySQL Server 5.5+ is currently set to the same version as the MySQL Server. This is not correct, the version of NDB in MySQL Server is from the last time when mysql-5.1-telco-6.2 was last merged up into 5.1(i.e 5.1.34-ndb-6.2.18).

This would mean that NDB in MySQL Server should have version 6.2.18(according to the version scheme).
 
Considering that NDB in 5.5 has a few additional patches in ha_ndbcluster.cc, we should fix the version number of NDB in MySQL Server 5.5 at _5.5.7_.

How to repeat:
Version number scheme review.

Suggested fix:
Fix the version number of NDB to 5.5.7. This change should be done in config/ac-macros/ha_ndbcluster.m4.

=== modified file 'config/ac-macros/ha_ndbcluster.m4'
--- config/ac-macros/ha_ndbcluster.m4	2010-08-06 12:59:38 +0000
+++ config/ac-macros/ha_ndbcluster.m4	2010-08-31 06:48:33 +0000
@@ -2,10 +2,10 @@ dnl ------------------------------------
 dnl Macro: MYSQL_CHECK_NDBCLUSTER
 dnl ---------------------------------------------------------------------------
 
-NDB_VERSION_MAJOR=`echo $MYSQL_NUMERIC_VERSION | cut -d. -f1`
-NDB_VERSION_MINOR=`echo $MYSQL_NUMERIC_VERSION | cut -d. -f2`
-NDB_VERSION_BUILD=`echo $MYSQL_NUMERIC_VERSION | cut -d. -f3`
-NDB_VERSION_STATUS=`echo $VERSION | sed 's/^[[-.0-9]]*//'`
+NDB_VERSION_MAJOR=5
+NDB_VERSION_MINOR=5
+NDB_VERSION_BUILD=7
+NDB_VERSION_STATUS=""
 TEST_NDBCLUSTER=""
[7 Oct 2010 9:15] 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/120210
[7 Oct 2010 9:17] 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/120211
[7 Oct 2010 9:33] Magnus Blåudd
Pushed to 5.5-bugteam and trunk-merge
[9 Nov 2010 19:49] Bugs System
Pushed into mysql-5.5 5.5.7-rc (revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (version source revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (merge vers: 5.5.7-rc) (pib:21)
[13 Nov 2010 16:12] Bugs System
Pushed into mysql-trunk 5.6.99-m5 (revid:alexander.nozdrin@oracle.com-20101113155825-czmva9kg4n31anmu) (version source revid:alexander.nozdrin@oracle.com-20101113152450-2zzcm50e7i4j35v7) (merge vers: 5.6.1-m4) (pib:21)
[13 Nov 2010 16:34] Bugs System
Pushed into mysql-next-mr (revid:alexander.nozdrin@oracle.com-20101113160336-atmtmfb3mzm4pz4i) (version source revid:vasil.dimov@oracle.com-20100629074804-359l9m9gniauxr94) (pib:21)
[15 Nov 2010 19:51] Jon Stephens
No impact on end users at this time, no changelog entry required.

Closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.