[TD-4352]update meta maxCols and maxRowBytes after remove table
This commit is contained in:
parent
5eca4ebd27
commit
5f5a802bb9
|
@ -1043,6 +1043,8 @@ static void tsdbRemoveTableFromMeta(STsdbRepo *pRepo, STable *pTable, bool rmFro
|
||||||
maxRowBytes = MAX(maxRowBytes, schemaTLen(pSchema));
|
maxRowBytes = MAX(maxRowBytes, schemaTLen(pSchema));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pMeta->maxCols = maxCols;
|
||||||
|
pMeta->maxRowBytes = maxRowBytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lock) tsdbUnlockRepoMeta(pRepo);
|
if (lock) tsdbUnlockRepoMeta(pRepo);
|
||||||
|
|
Loading…
Reference in New Issue