fix crash
This commit is contained in:
parent
546d3e84d5
commit
d15e60d1ce
|
@ -40,10 +40,7 @@ void Testbase::InitLog(const char* path) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Testbase::Init(const char* path, int16_t port) {
|
void Testbase::Init(const char* path, int16_t port) {
|
||||||
SDnodeEnvCfg cfg = {0};
|
dndInit();
|
||||||
cfg.numOfCommitThreads = 1;
|
|
||||||
cfg.numOfCores = 1;
|
|
||||||
dndInit(&cfg);
|
|
||||||
|
|
||||||
char fqdn[] = "localhost";
|
char fqdn[] = "localhost";
|
||||||
char firstEp[TSDB_EP_LEN] = {0};
|
char firstEp[TSDB_EP_LEN] = {0};
|
||||||
|
|
Loading…
Reference in New Issue