提交 c89fd5ae 编写于 作者: S Shengliang Guan

TD-1872

上级 6ecb9b85
......@@ -106,7 +106,7 @@ int32_t walGetNewFile(SWal *pWal, int64_t *newFileId) {
}
closedir(dir);
if (maxFileId == INT64_MAX) {
if (maxFileId == INT64_MIN) {
*newFileId = 0;
} else {
*newFileId = maxFileId;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册