Merge pull request #3845 from actiontech/inner-2371_2

[inner-2371] fix: sql execution hang problem caused by the inability to respond to the front side due to unprocessed packets (2).
This commit is contained in:
wenyh
2023-11-14 16:08:25 +08:00
committed by GitHub

View File

@@ -578,7 +578,7 @@ public class MySQLResponseService extends BackendService {
@Override
protected Executor getExecutor() {
Executor executor;
if (complexQuery) {
if (complexQuery || SystemConfig.getInstance().getUsePerformanceMode() == 1) {
executor = DbleServer.getInstance().getComplexQueryExecutor();
} else {
executor = DbleServer.getInstance().getBackendExecutor();