chore: bug fix
This commit is contained in:
parent
f391462e34
commit
14b438ec64
|
@ -580,6 +580,7 @@ static const char *tkLogStb[TK_LOG_STB_NUM] = {"cluster_info",
|
||||||
// exclude stbs of taoskeeper log
|
// exclude stbs of taoskeeper log
|
||||||
static int32_t vnodeGetTimeSeriesBlackList(SVnode *pVnode) {
|
static int32_t vnodeGetTimeSeriesBlackList(SVnode *pVnode) {
|
||||||
char *dbName = strchr(pVnode->config.dbname, '.');
|
char *dbName = strchr(pVnode->config.dbname, '.');
|
||||||
|
++dbName;
|
||||||
if (!dbName || 0 != strncmp(dbName, "log", TSDB_DB_NAME_LEN)) {
|
if (!dbName || 0 != strncmp(dbName, "log", TSDB_DB_NAME_LEN)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue