refactor code
This commit is contained in:
parent
f0c1950b63
commit
3acd4d3afc
|
@ -586,7 +586,7 @@ int idxFlushCacheToTFile(SIndex* sIdx, void* cache, bool quit) {
|
||||||
|
|
||||||
int ret = idxGenTFile(sIdx, pCache, result);
|
int ret = idxGenTFile(sIdx, pCache, result);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
indexError("failed to merge, time cost: %" PRId64 "ms", cost / 1000);
|
indexError("failed to merge");
|
||||||
} else {
|
} else {
|
||||||
int64_t cost = taosGetTimestampUs() - st;
|
int64_t cost = taosGetTimestampUs() - st;
|
||||||
indexInfo("success to merge , time cost: %" PRId64 "ms", cost / 1000);
|
indexInfo("success to merge , time cost: %" PRId64 "ms", cost / 1000);
|
||||||
|
|
Loading…
Reference in New Issue