From 3acd4d3afc8a3398bf69932eb0f076a28eaa7b8c Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 7 Sep 2022 19:41:51 +0800 Subject: [PATCH] refactor code --- source/libs/index/src/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/index/src/index.c b/source/libs/index/src/index.c index 1f6d793417..f507e1b3be 100644 --- a/source/libs/index/src/index.c +++ b/source/libs/index/src/index.c @@ -586,7 +586,7 @@ int idxFlushCacheToTFile(SIndex* sIdx, void* cache, bool quit) { int ret = idxGenTFile(sIdx, pCache, result); if (ret != 0) { - indexError("failed to merge, time cost: %" PRId64 "ms", cost / 1000); + indexError("failed to merge"); } else { int64_t cost = taosGetTimestampUs() - st; indexInfo("success to merge , time cost: %" PRId64 "ms", cost / 1000);