You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2020/08/08 12:29:43 UTC
[incubator-doris] branch master updated: [Bug]fix cancel query bug
(#4275)
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 a54b0ea [Bug]fix cancel query bug (#4275)
a54b0ea is described below
commit a54b0eab0c01f47442d26f7427d270324c5b0def
Author: gengjun-git <54...@users.noreply.github.com>
AuthorDate: Sat Aug 8 20:29:32 2020 +0800
[Bug]fix cancel query bug (#4275)
ConnectContext.kill() use executor to cancel query, but executor has never been set.
---
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java b/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
index 100f2b1..a286980 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
@@ -189,6 +189,7 @@ public class ConnectProcessor {
parsedStmt = stmts.get(i);
parsedStmt.setOrigStmt(new OriginStatement(originStmt, i));
executor = new StmtExecutor(ctx, parsedStmt);
+ ctx.setExecutor(executor);
executor.execute();
if (i != stmts.size() - 1) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org