[TBASE-1123]

This commit is contained in:
lihui 2019-11-21 17:54:13 +08:00
parent c8921fe916
commit 322abab8c8
1 changed files with 1 additions and 0 deletions

View File

@ -790,6 +790,7 @@ static void doInitGlobalConfig() {
0, 0, 0, TSDB_CFG_UTYPE_NONE);
tsGlobalConfigNum = (int)(cfg - tsGlobalConfig);
assert(tsGlobalConfigNum <= TSDB_CFG_MAX_NUM);
}
static pthread_once_t initGlobalConfig = PTHREAD_ONCE_INIT;