You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/08/22 01:57:08 UTC
[GitHub] [shardingsphere] ICannerxy commented on a diff in pull request #20311: Support KILL command.
ICannerxy commented on code in PR #20311:
URL: https://github.com/apache/shardingsphere/pull/20311#discussion_r950947114
##########
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/model/ExecutionGroupContext.java:
##########
@@ -38,7 +38,7 @@
private final Collection<ExecutionGroup<T>> inputGroups;
- private final String executionID = new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()).toString();
+ private final String executionID = new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong()).toString().replaceAll("-", "");
Review Comment:
DALStatement.g4 use `KILL (CONNECTION | QUERY)? IDENTIFIER_`, `IDENTIFIER_` not contains `-`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org