提交 3df3d3f3 编写于 作者: K kailixu

chore: more code

上级 ede3c28c
......@@ -131,7 +131,7 @@ STableCfg *tsdbCreateTableCfgFromMsg(SMDCreateTableMsg *pMsg);
int tsdbCreateTable(STsdbRepo *repo, STableCfg *pCfg);
int tsdbDropTable(STsdbRepo *pRepo, STableId tableId);
int tsdbUpdateTableTagValue(STsdbRepo *repo, SUpdateTableTagValMsg *pMsg);
int tsdbPrintTables(STsdbRepo *repo, uint64_t qId);
int tsdbDumpTables(STsdbRepo *repo, uint64_t qId);
uint32_t tsdbGetFileInfo(STsdbRepo *repo, char *name, uint32_t *index, uint32_t eindex, int64_t *size);
......
......@@ -213,7 +213,7 @@ _err:
return -1;
}
int tsdbPrintTables(STsdbRepo *pRepo, uint64_t qId) {
int tsdbDumpTables(STsdbRepo *pRepo, uint64_t qId) {
STsdbMeta *pMeta = pRepo->tsdbMeta;
if (tsdbRLockRepoMeta(pRepo) < 0) return -1;
for (int32_t i = 0; i < pMeta->maxTables; ++i) {
......
......@@ -2809,7 +2809,7 @@ int32_t tsdbGetFileBlocksDistInfo(TsdbQueryHandleT* queryHandle, STableBlockDist
tsdbUnLockFS(pFileHandle);
if(tsMetaSyncOption) {
tsdbPrintTables(pQueryHandle->pTsdb, pQueryHandle->qId);
tsdbDumpTables(pQueryHandle->pTsdb, pQueryHandle->qId);
}
pTableBlockInfo->numOfFiles += 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册