From 266746a4e147742a908979c1b77da4bb6cbf5039 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Sat, 6 Feb 2021 11:36:58 +0800 Subject: [PATCH] fix bug --- src/util/src/tlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/src/tlog.c b/src/util/src/tlog.c index b81553c587..a0ad93cf22 100644 --- a/src/util/src/tlog.c +++ b/src/util/src/tlog.c @@ -667,7 +667,7 @@ static void taosWriteLog(SLogBuff *tLogBuff) { start = LOG_BUF_START(tLogBuff); end = LOG_BUF_END(tLogBuff); - int32_t pollSize = taosGetLogRemainSize(tLogBuff, start, end); + pollSize = taosGetLogRemainSize(tLogBuff, start, end); if (pollSize < tLogBuff->minBuffSize) { break; } -- GitLab