haoyann commented on issue #6455: URL: https://github.com/apache/skywalking/issues/6455#issuecomment-787404958
https://github.com/apache/skywalking/blob/19d4a77235de37f47c3b97cff0118fddbdb565e3/oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/MultiScopesAnalysisListener.java#L206-L210 @wu-sheng `StringUtil.isEmpty(sqlStatement)` check move out of the loop , can it be changed like this? ``` if (StringUtil.isEmpty(slowStatementBuilder.getStatement())) { slowStatementBuilder.setStatement("[No statement]/" + span.getOperationName()); } ``` ---------------------------------------------------------------- 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: [email protected]
