[TD-4352]update meta maxCols and maxRowBytes after remove table

This commit is contained in:
lichuang 2021-06-18 11:35:06 +08:00
parent 5eca4ebd27
commit 5f5a802bb9
1 changed files with 2 additions and 0 deletions

View File

@ -1043,6 +1043,8 @@ static void tsdbRemoveTableFromMeta(STsdbRepo *pRepo, STable *pTable, bool rmFro
maxRowBytes = MAX(maxRowBytes, schemaTLen(pSchema));
}
}
pMeta->maxCols = maxCols;
pMeta->maxRowBytes = maxRowBytes;
}
if (lock) tsdbUnlockRepoMeta(pRepo);