fix the mistake of do_write when write return EAGAIN
This commit is contained in:
2
deps/oblib/src/rpc/obmysql/ob_sql_nio.cpp
vendored
2
deps/oblib/src/rpc/obmysql/ob_sql_nio.cpp
vendored
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user