Skip to content

Commit

Permalink
Merge 737bf3f into 254788b
Browse files Browse the repository at this point in the history
  • Loading branch information
malafeev committed Jul 1, 2019
2 parents 254788b + 737bf3f commit fa8133c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Expand Up @@ -40,11 +40,6 @@ public class TracingCallableStatement extends TracingPreparedStatement implement

private final CallableStatement statement;

public TracingCallableStatement(CallableStatement statement, String query,
ConnectionInfo connectionInfo, boolean withActiveSpanOnly, Set<String> ignoredStatements) {
this(statement, query, connectionInfo, withActiveSpanOnly, ignoredStatements, null);
}

public TracingCallableStatement(CallableStatement statement, String query,
ConnectionInfo connectionInfo, boolean withActiveSpanOnly, Set<String> ignoredStatements,
Tracer tracer) {
Expand Down
Expand Up @@ -67,7 +67,7 @@ public PreparedStatement prepareStatement(String sql) throws SQLException {
@Override
public CallableStatement prepareCall(String sql) throws SQLException {
return new TracingCallableStatement(connection.prepareCall(sql), sql, connectionInfo,
withActiveSpanOnly, ignoredStatements);
withActiveSpanOnly, ignoredStatements, tracer);
}

@Override
Expand Down Expand Up @@ -170,7 +170,7 @@ public CallableStatement prepareCall(String sql, int resultSetType, int resultSe
throws SQLException {
return new TracingCallableStatement(
connection.prepareCall(sql, resultSetType, resultSetConcurrency), sql, connectionInfo,
withActiveSpanOnly, ignoredStatements);
withActiveSpanOnly, ignoredStatements, tracer);
}

@Override
Expand Down

0 comments on commit fa8133c

Please sign in to comment.