[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:
wenyh1
2023-11-14 11:12:32 +08:00
parent 1bc1d5d9ed
commit 3f4ef84635

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();