chore: bug fix

This commit is contained in:
kailixu 2023-07-11 07:02:36 +08:00
parent f391462e34
commit 14b438ec64
1 changed files with 1 additions and 0 deletions

View File

@ -580,6 +580,7 @@ static const char *tkLogStb[TK_LOG_STB_NUM] = {"cluster_info",
// exclude stbs of taoskeeper log
static int32_t vnodeGetTimeSeriesBlackList(SVnode *pVnode) {
char *dbName = strchr(pVnode->config.dbname, '.');
++dbName;
if (!dbName || 0 != strncmp(dbName, "log", TSDB_DB_NAME_LEN)) {
return 0;
}