提交 8125b808 编写于 作者: H Haojun Liao

[td-225]fix compiler error.

上级 664bfa36
...@@ -66,7 +66,7 @@ static void doCleanupDataCache(SCacheObj *pCacheObj); ...@@ -66,7 +66,7 @@ static void doCleanupDataCache(SCacheObj *pCacheObj);
*/ */
static void* taosCacheTimedRefresh(void *handle); static void* taosCacheTimedRefresh(void *handle);
static pthread_t cacheRefreshWorker = 0; static pthread_t cacheRefreshWorker = {0};
static pthread_once_t cacheThreadInit = PTHREAD_ONCE_INIT; static pthread_once_t cacheThreadInit = PTHREAD_ONCE_INIT;
static pthread_mutex_t guard = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t guard = PTHREAD_MUTEX_INITIALIZER;
static SArray* pCacheArrayList = NULL; static SArray* pCacheArrayList = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册