Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-03-05 14:59:44+01:00, jonas@stripped +1 -0
ndb - drop5
fix bug when using my.cnf (officially not supported)
storage/ndb/src/mgmsrv/InitConfigFileParser.cpp@stripped, 2007-03-05 14:59:42+01:00, jonas@stripped +8 -5
fix bug when using my.cnf (officially not supported)
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jonas
# Host: perch.ndb.mysql.com
# Root: /home/jonas/src/drop5
--- 1.25/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp 2007-03-05 14:59:47 +01:00
+++ 1.26/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp 2007-03-05 14:59:47 +01:00
@@ -801,6 +801,8 @@
* Add ndbd, ndb_mgmd, api/mysqld
*/
{
+ const Uint32 idx = options.size();
+
struct my_option opt;
bzero(&opt, sizeof(opt));
opt.name = "ndbd";
@@ -809,7 +811,6 @@
opt.var_type = GET_STR;
opt.arg_type = REQUIRED_ARG;
options.push_back(opt);
- ndbd = &options.back();
opt.name = "ndb_mgmd";
opt.id = 256;
@@ -817,7 +818,6 @@
opt.var_type = GET_STR;
opt.arg_type = REQUIRED_ARG;
options.push_back(opt);
- ndb_mgmd = &options.back();
opt.name = "mysqld";
opt.id = 256;
@@ -825,18 +825,21 @@
opt.var_type = GET_STR;
opt.arg_type = REQUIRED_ARG;
options.push_back(opt);
- mysqld = &options.back();
- opt.name = "api";
+ opt.name = "ndbapi";
opt.id = 256;
opt.value = (gptr*)malloc(sizeof(char*));
opt.var_type = GET_STR;
opt.arg_type = REQUIRED_ARG;
options.push_back(opt);
- api = &options.back();
bzero(&opt, sizeof(opt));
options.push_back(opt);
+
+ ndbd = &options[idx];
+ ndb_mgmd = &options[idx+1];
+ mysqld = &options[idx+2];
+ api = &options[idx+3];
}
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2101) | jonas | 5 Mar |