summaryrefslogtreecommitdiff
path: root/ndb/test/src
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-09-25 17:30:51 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-09-25 17:30:51 +0000
commit01eca8f8307bffb4db15de0ed10aa1c5c3cbcfa0 (patch)
tree8ff1bd11cba87ad3530ffc6312fc8f2ff2be43fd /ndb/test/src
parent45a7efa3e8726cc4bcabc7d3abbd74868c5921e8 (diff)
downloadmariadb-git-01eca8f8307bffb4db15de0ed10aa1c5c3cbcfa0.tar.gz
local config now outside config retriever
Diffstat (limited to 'ndb/test/src')
-rw-r--r--ndb/test/src/NdbBackup.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ndb/test/src/NdbBackup.cpp b/ndb/test/src/NdbBackup.cpp
index 71b4b49b3a6..ad26dbeab16 100644
--- a/ndb/test/src/NdbBackup.cpp
+++ b/ndb/test/src/NdbBackup.cpp
@@ -69,7 +69,11 @@ NdbBackup::getBackupDataDirForNode(int _node_id){
/**
* Fetch configuration from management server
*/
- ConfigRetriever cr(0, NODE_TYPE_API);
+ LocalConfig lc;
+ if (!lc.init(0,0)) {
+ abort();
+ }
+ ConfigRetriever cr(lc, 0, NODE_TYPE_API);
ndb_mgm_configuration * p = 0;
BaseString tmp; tmp.assfmt("%s:%d", host.c_str(), port);