eldenmoon commented on code in PR #35318:
URL: https://github.com/apache/doris/pull/35318#discussion_r1620452847
##########
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java:
##########
@@ -257,8 +257,9 @@ public void executeQuery(MysqlCommand mysqlCommand, String
originStmt) throws Ex
Exception nereidsSyntaxException = null;
long parseSqlStartTime = System.currentTimeMillis();
List<StatementBase> cachedStmts = null;
- // Nereids do not support prepare and execute now, so forbid prepare
command, only process query command
- if (mysqlCommand == MysqlCommand.COM_QUERY &&
sessionVariable.isEnableNereidsPlanner()) {
+ boolean nereidsUseServerPrep =
sessionVariable.enableServeSidePreparedStatement
+ || mysqlCommand == MysqlCommand.COM_QUERY;
Review Comment:
done
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]