1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

mysql-test ndb_index_unique

ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Compensate for "extra" lqhkeyreqrec during index read (when IgnoreError)
ndb/src/mgmsrv/main.cpp:
  Read corrent local node id
ndb/tools/waiter.cpp:
  Yet another user of LocalConfig
This commit is contained in:
unknown
2004-08-09 15:13:46 +02:00
parent 96587f58c8
commit 520a745891
3 changed files with 7 additions and 8 deletions

View File

@ -22,7 +22,7 @@
#include <NdbSleep.h>
#include <getarg.h>
#include <kernel/ndb_limits.h>
#include "../src/common/mgmcommon/LocalConfig.hpp"
#include "../include/mgmcommon/LocalConfig.hpp"
#include <NDBT.hpp>
@ -67,13 +67,13 @@ int main(int argc, const char** argv){
return NDBT_ProgramExit(NDBT_FAILED);
}
for (int i = 0; i<lcfg.items; i++)
for (int i = 0; i<lcfg.ids.size();i++)
{
MgmtSrvrId * m = lcfg.ids[i];
MgmtSrvrId * m = &lcfg.ids[i];
switch(m->type){
case MgmId_TCP:
snprintf(buf, 255, "%s:%d", m->data.tcp.remoteHost, m->data.tcp.port);
snprintf(buf, 255, "%s:%d", m->name.c_str(), m->port);
_hostName = buf;
break;
case MgmId_File: