Skip to content

Commit 9b7282a

Browse files
authored
fix: Remove set nonblocking = false for mysql tcp stream (#17798)
Signed-off-by: Xuanwo <[email protected]>
1 parent 7090f59 commit 9b7282a

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/query/service/src/servers/mysql/mysql_session.rs

-5
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ impl MySQLConnection {
127127
.map_err_to_code(ErrorCode::TokioError, || {
128128
"Cannot to convert Tokio TcpStream to Std TcpStream"
129129
})?;
130-
stream
131-
.set_nonblocking(false)
132-
.map_err_to_code(ErrorCode::TokioError, || {
133-
"Cannot to convert Tokio TcpStream to Std TcpStream"
134-
})?;
135130

136131
Ok(stream)
137132
}

0 commit comments

Comments
 (0)