This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 40c1fa2 [refactor] change mysql server version to avoid some cve
issues (#8223)
40c1fa2 is described below
commit 40c1fa2335f4ecedfa4865dca66d5ffbc4dedda7
Author: Zhengguo Yang <[email protected]>
AuthorDate: Fri Feb 25 11:14:57 2022 +0800
[refactor] change mysql server version to avoid some cve issues (#8223)
5.1.0 -> 5.1.73
---
.../src/main/java/org/apache/doris/mysql/MysqlHandshakePacket.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlHandshakePacket.java
b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlHandshakePacket.java
index 347ee0b..ed7aec9 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlHandshakePacket.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlHandshakePacket.java
@@ -22,8 +22,8 @@ public class MysqlHandshakePacket extends MysqlPacket {
private static final int SCRAMBLE_LENGTH = 20;
// Version of handshake packet, since MySQL 3.21.0, Handshake of protocol
10 is used
private static final int PROTOCOL_VERSION = 10;
- // JDBC use this version to check which protocol the server support
- private static final String SERVER_VERSION = "5.1.0";
+ // JDBC uses this version to check which protocol the server support
+ private static final String SERVER_VERSION = "5.1.73";
// 33 stands for UTF-8 character set
private static final int CHARACTER_SET = 33;
// use default capability for all
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]