Merge branch 'feature/query' of https://github.com/taosdata/TDengine into feature/query

This commit is contained in:
Shengliang Guan 2020-07-02 08:31:46 +08:00
commit 46ecc66db9
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ SCacheObj *taosCacheInitWithCb(int32_t keyType, int64_t refreshTimeInSeconds, bo
return NULL;
}
pthread_attr_t thattr = {0};
pthread_attr_t thattr = {{0}};
pthread_attr_init(&thattr);
pthread_attr_setdetachstate(&thattr, PTHREAD_CREATE_JOINABLE);