Bug #27926 wrong month name in cluster error log
Submitted: 18 Apr 2007 12:04 Modified: 9 May 2007 6:12
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.16 OS:Linux
Assigned to: Martin Skold CPU Architecture:Any

[18 Apr 2007 12:04] Hartmut Holzgraefe
Description:
Cluster error logs print Mars instead of March

How to repeat:
mysql-5.1 > sourcefind -n Mars
./regex/regexp.c:44: * eight-bit chars. Mars 22 1996
./storage/ndb/src/kernel/error/TimeModule.cpp:21:static const char* cMonth[]  = { "x", "January", "February", "Mars", "April", "May", "June",

Suggested fix:
===== storage/ndb/src/kernel/error/TimeModule.cpp 1.5 vs edited =====
--- 1.5/storage/ndb/src/kernel/error/TimeModule.cpp     2007-04-18 14:03:35 +02:00
+++ edited/storage/ndb/src/kernel/error/TimeModule.cpp  2007-04-18 14:03:25 +02:00
@@ -18,7 +18,7 @@
 #include <ndb_global.h>
 #include "TimeModule.hpp"
 
-static const char* cMonth[]  = { "x", "January", "February", "Mars", "April", "May", "June",
+static const char* cMonth[]  = { "x", "January", "February", "March", "April", "May", "June",
                                 "July", "August", "September", "October", "November", "December"};
 
 static const char* cDay[]    = { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
[30 Apr 2007 12: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/25756

ChangeSet@1.2464, 2007-04-30 14:17:08+02:00, mskold@mysql.com +1 -0
  Bug#27926  wrong month name in cluster error log
[7 May 2007 8:54] Bugs System
Pushed into 5.1.18-beta
[7 May 2007 8:56] Bugs System
Pushed into 5.0.42
[9 May 2007 6:12] 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.42 and 5.1.18 changelogs.