提交 684faf81 编写于 作者: O obdev 提交者: ob-robot

fix the mistake of do_write when write return EAGAIN

上级 ebefd2bd
......@@ -317,7 +317,7 @@ private:
LOG_WARN("write data error", K(errno));
}
}
if (OB_SUCCESS == ret || EAGAIN == ret) {
if (OB_SUCCESS == ret || OB_EAGAIN == ret) {
consume_bytes = pos;
ret = OB_SUCCESS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册