fix bug
This commit is contained in:
parent
7974b0d96d
commit
266746a4e1
|
@ -667,7 +667,7 @@ static void taosWriteLog(SLogBuff *tLogBuff) {
|
||||||
start = LOG_BUF_START(tLogBuff);
|
start = LOG_BUF_START(tLogBuff);
|
||||||
end = LOG_BUF_END(tLogBuff);
|
end = LOG_BUF_END(tLogBuff);
|
||||||
|
|
||||||
int32_t pollSize = taosGetLogRemainSize(tLogBuff, start, end);
|
pollSize = taosGetLogRemainSize(tLogBuff, start, end);
|
||||||
if (pollSize < tLogBuff->minBuffSize) {
|
if (pollSize < tLogBuff->minBuffSize) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue