提交 b304cd96 编写于 作者: S Shengliang Guan

TD-1207

上级 de4f402e
...@@ -100,7 +100,7 @@ extern "C" { ...@@ -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() { ...@@ -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() { ...@@ -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[]) { ...@@ -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;
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册