Commit ae3ea5a9 authored by unknown's avatar unknown

Fix the following:

ndb_mgm_set_int_parameter
ndb_mgm_set_int64_parameter
ndb_mgm_set_string_parameter


ndb/src/mgmapi/mgmapi.cpp:
  Don't include a ': ' at the end of an args.put() name.
  
  It is likely that the following calls don't work before this checkin:
  ndb_mgm_set_int_parameter
  ndb_mgm_set_int64_parameter
  ndb_mgm_set_string_parameter
  
  luckily nobody was actually calling these.
parent 90b34155
...@@ -1788,9 +1788,9 @@ ndb_mgm_set_int_parameter(NdbMgmHandle handle, ...@@ -1788,9 +1788,9 @@ ndb_mgm_set_int_parameter(NdbMgmHandle handle,
CHECK_CONNECTED(handle, 0); CHECK_CONNECTED(handle, 0);
Properties args; Properties args;
args.put("node: ", node); args.put("node", node);
args.put("param: ", param); args.put("param", param);
args.put("value: ", value); args.put("value", value);
const ParserRow<ParserDummy> reply[]= { const ParserRow<ParserDummy> reply[]= {
MGM_CMD("set parameter reply", NULL, ""), MGM_CMD("set parameter reply", NULL, ""),
...@@ -1827,9 +1827,9 @@ ndb_mgm_set_int64_parameter(NdbMgmHandle handle, ...@@ -1827,9 +1827,9 @@ ndb_mgm_set_int64_parameter(NdbMgmHandle handle,
CHECK_CONNECTED(handle, 0); CHECK_CONNECTED(handle, 0);
Properties args; Properties args;
args.put("node: ", node); args.put("node", node);
args.put("param: ", param); args.put("param", param);
args.put("value: ", value); args.put("value", value);
const ParserRow<ParserDummy> reply[]= { const ParserRow<ParserDummy> reply[]= {
MGM_CMD("set parameter reply", NULL, ""), MGM_CMD("set parameter reply", NULL, ""),
...@@ -1870,9 +1870,9 @@ ndb_mgm_set_string_parameter(NdbMgmHandle handle, ...@@ -1870,9 +1870,9 @@ ndb_mgm_set_string_parameter(NdbMgmHandle handle,
CHECK_CONNECTED(handle, 0); CHECK_CONNECTED(handle, 0);
Properties args; Properties args;
args.put("node: ", node); args.put("node", node);
args.put("parameter: ", param); args.put("parameter", param);
args.put("value: ", value); args.put("value", value);
const ParserRow<ParserDummy> reply[]= { const ParserRow<ParserDummy> reply[]= {
MGM_CMD("set parameter reply", NULL, ""), MGM_CMD("set parameter reply", NULL, ""),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment