morningman commented on a change in pull request #5620: URL: https://github.com/apache/incubator-doris/pull/5620#discussion_r613170837
########## File path: fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java ########## @@ -253,7 +253,10 @@ public void execute() throws Exception { // Exception: // IOException: talk with client failed. public void execute(TUniqueId queryId) throws Exception { - + // origin value init + VariableMgr.setIsSingleSetVar(false); + VariableMgr.clearMapSessionOriginValue(); Review comment: VariableMgr is not a thread safe class. But `execute()` can be called by multi threads -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org