TD-1207
This commit is contained in:
parent
de4f402e89
commit
b304cd96c0
|
@ -100,7 +100,7 @@ extern "C" {
|
||||||
#elif defined(__GNUC__) && !defined(threadlocal)
|
#elif defined(__GNUC__) && !defined(threadlocal)
|
||||||
#define threadlocal __thread
|
#define threadlocal __thread
|
||||||
#else
|
#else
|
||||||
#define threadlocal
|
#define threadlocal __declspec( thread )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -44,7 +44,7 @@ int32_t walInit() {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
wInfo("wal module is initialized, refId:%d", tsWal.refId);
|
wInfo("wal module is initialized, rsetId:%d", tsWal.refId);
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@ static int32_t walCreateThread() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pthread_attr_destroy(&thAttr);
|
pthread_attr_destroy(&thAttr);
|
||||||
wDebug("wal thread is launched");
|
wDebug("wal thread is launched, thread:0x%08" PRIx64, taosGetPthreadId(tsWal.thread));
|
||||||
|
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ int32_t main(int32_t argc, char *argv[]) {
|
||||||
simExecuteScript(script);
|
simExecuteScript(script);
|
||||||
|
|
||||||
int32_t ret = simExecSuccess ? 0 : -1;
|
int32_t ret = simExecSuccess ? 0 : -1;
|
||||||
simError("execute result %d", ret);
|
simInfo("execute result %d", ret);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
Loading…
Reference in New Issue