From 3320f111fdbf8f09faf9a2fd4ec3ed19bc4d60fc Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Mon, 25 Nov 2024 15:10:14 +0800 Subject: [PATCH] fix: compile issue --- source/util/inc/tmempoolInt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/util/inc/tmempoolInt.h b/source/util/inc/tmempoolInt.h index ce84ff5331..d2119935c3 100755 --- a/source/util/inc/tmempoolInt.h +++ b/source/util/inc/tmempoolInt.h @@ -486,7 +486,7 @@ enum { if (*(_pool)->cfg.jobQuota > 0) { \ int64_t cAllocSize = atomic_add_fetch_64(&(_job)->job.allocMemSize, (_size)); \ if (cAllocSize / 1048576UL > *(_pool)->cfg.jobQuota) { \ - uWarn("job 0x%" PRIx64 " allocSize %" PRId64 " is over than quota %" PRId64, (_job)->job.jobId, cAllocSize, *(_pool)->cfg.jobQuota); \ + uWarn("job 0x%" PRIx64 " allocSize %" PRId64 " is over than quota %dMB", (_job)->job.jobId, cAllocSize, *(_pool)->cfg.jobQuota); \ (_pool)->cfg.cb.reachFp(pJob->job.jobId, (_job)->job.clientId, TSDB_CODE_QRY_REACH_QMEM_THRESHOLD); \ terrno = TSDB_CODE_QRY_REACH_QMEM_THRESHOLD; \ return NULL; \