You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/02/19 12:10:39 UTC

[incubator-skywalking] branch master updated: fix issue #2258 (#2260)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a14097  fix issue #2258 (#2260)
2a14097 is described below

commit 2a140973426cfc017da3301913451ecadd3419a7
Author: dingshaocheng <81...@qq.com>
AuthorDate: Tue Feb 19 20:10:34 2019 +0800

    fix issue #2258 (#2260)
---
 .../apm/plugin/jdbc/mysql/wrapper/PreparedStatementWrapper.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jdbc/mysql/wrapper/PreparedStatementWrapper.java b/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jdbc/mysql/wrapper/PreparedStatementWrapper.java
index 9854c86..106c258 100644
--- a/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jdbc/mysql/wrapper/PreparedStatementWrapper.java
+++ b/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jdbc/mysql/wrapper/PreparedStatementWrapper.java
@@ -153,7 +153,7 @@ public class PreparedStatementWrapper extends StatementWrapper implements Prepar
     @Override public boolean execute() throws SQLException {
         return TracingUtils.trace(connectionInfo, "execute", sql, stateType, new TracingUtils.Executable<Boolean>() {
             @Override public Boolean exe(String sql) throws SQLException {
-                return statement.execute(sql);
+                return statement.execute();
             }
         });
     }