This is an automated email from the ASF dual-hosted git repository.
lujingshang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from f122632 Fix checkstyle for example (#16186)
add a35f52a Supports MySQL COM_SET_OPTION in protocol (#16174)
No new revisions were added by this update.
Summary of changes:
.../db/protocol/mysql/constant/MySQLConstants.java | 2 ++
.../packet/command/MySQLCommandPacketFactory.java | 3 ++
.../MySQLComSetOptionPacket.java} | 22 +++++++------
.../MySQLMySQLCommandPacketFactoryTest.java | 3 +-
.../MySQLComSetOptionPacketTest.java} | 28 +++++++---------
.../mysql/command/MySQLCommandExecutorFactory.java | 4 +++
.../MySQLComSetOptionExecutor.java} | 21 +++++++-----
.../command/MySQLCommandExecutorFactoryTest.java | 8 +++++
.../MySQLComSetOptionExecutorTest.java} | 37 ++++++++++++++++------
9 files changed, 83 insertions(+), 45 deletions(-)
copy
shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/{query/binary/close/MySQLComStmtClosePacket.java
=> admin/MySQLComSetOptionPacket.java} (68%)
copy
shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/{query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
=> admin/MySQLComSetOptionPacketTest.java} (59%)
copy
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/{query/binary/reset/MySQLComStmtResetExecutor.java
=> admin/MySQLComSetOptionExecutor.java} (62%)
copy
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/{query/binary/reset/MySQLComStmtResetExecutorTest.java
=> admin/MySQLComSetOptionExecutorTest.java} (50%)