Update SWPreparedStatement.java

Fix the wrong operationName of PreparedStatement#execute(String)
This commit is contained in:
吴晟 Wu Sheng 2017-07-28 11:07:40 +08:00 committed by GitHub
parent 544feee8ff
commit 349f78efa4
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ public class SWPreparedStatement implements PreparedStatement {
}
public boolean execute() throws SQLException {
return PreparedStatementTracing.execute(realStatement, connectInfo, "executeUpdate", sql, new PreparedStatementTracing.Executable<Boolean>() {
return PreparedStatementTracing.execute(realStatement, connectInfo, "execute", sql, new PreparedStatementTracing.Executable<Boolean>() {
public Boolean exe(PreparedStatement realStatement, String sql)
throws SQLException {
return realStatement.execute();