1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Initial support for updating configuration "on the fly"

Only updates values mgmsrv's on main memory
to be used in test prg's


ndb/include/mgmapi/mgmapi_debug.h:
  Update on config
ndb/include/util/ConfigValues.hpp:
  Update on config
ndb/src/mgmapi/mgmapi.cpp:
  Update on config
ndb/src/mgmsrv/MgmtSrvr.cpp:
  Update on config
ndb/src/mgmsrv/MgmtSrvr.hpp:
  Update on config
ndb/src/mgmsrv/Services.cpp:
  Update on config
ndb/src/mgmsrv/Services.hpp:
  Update on config
This commit is contained in:
unknown
2004-08-05 16:21:33 +02:00
parent 1479ed3f5a
commit 73770db3f5
7 changed files with 299 additions and 4 deletions

View File

@ -106,6 +106,31 @@ extern "C" {
struct ndb_mgm_reply* reply);
/**
*
* @param handle the NDB management handle.
* @param nodeId the node id. 0 = all db nodes
* @param errrorCode the errorCode.
* @param reply the reply message.
* @return 0 if successful or an error code.
*/
int ndb_mgm_set_int_parameter(NdbMgmHandle handle,
int node,
int param,
unsigned value,
struct ndb_mgm_reply* reply);
int ndb_mgm_set_int64_parameter(NdbMgmHandle handle,
int node,
int param,
unsigned long long value,
struct ndb_mgm_reply* reply);
int ndb_mgm_set_string_parameter(NdbMgmHandle handle,
int node,
int param,
const char * value,
struct ndb_mgm_reply* reply);
#ifdef __cplusplus
}
#endif