This is an automated email from the ASF dual-hosted git repository.
lide pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 0518f6b0b33 [fix](meta) fix NullPointerException error when forwarding
cmd to master fe (#31946)
0518f6b0b33 is described below
commit 0518f6b0b339f6d4757b2cac996dd3f571570923
Author: Yulei-Yang <[email protected]>
AuthorDate: Thu Mar 7 19:56:43 2024 +0800
[fix](meta) fix NullPointerException error when forwarding cmd to master fe
(#31946)
---
fe/fe-core/src/main/java/org/apache/doris/mysql/ProxyMysqlChannel.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/mysql/ProxyMysqlChannel.java
b/fe/fe-core/src/main/java/org/apache/doris/mysql/ProxyMysqlChannel.java
index ed491df4b87..5cae206be73 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/ProxyMysqlChannel.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/ProxyMysqlChannel.java
@@ -26,6 +26,9 @@ import java.util.List;
* An interceptor for proxy query, keeping all packets to be sent to master
mysql channel.
*/
public class ProxyMysqlChannel extends MysqlChannel {
+ public ProxyMysqlChannel() {
+ this.serializer = MysqlSerializer.newInstance();
+ }
private final List<ByteBuffer> proxyResultBuffer = Lists.newArrayList();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]