Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public DruidJdbcStatement createStatement(SqlStatementFactory sqlStatementFactor
final DruidJdbcStatement statement = new DruidJdbcStatement(
connectionId,
statementId,
context,
context.copy(),
sqlStatementFactory
);

Expand All @@ -109,7 +109,7 @@ public DruidJdbcStatement createStatement(SqlStatementFactory sqlStatementFactor

public DruidJdbcPreparedStatement createPreparedStatement(
SqlStatementFactory sqlStatementFactory,
SqlQueryPlus sqlRequest,
SqlQueryPlus sqlQueryPlus,
final long maxRowCount)
{
final int statementId = statementCounter.incrementAndGet();
Expand All @@ -127,7 +127,7 @@ public DruidJdbcPreparedStatement createPreparedStatement(

@SuppressWarnings("GuardedBy")
final PreparedStatement statement = sqlStatementFactory.preparedStatement(
sqlRequest.withContext(context)
sqlQueryPlus.withContext(context.copy())
);
final DruidJdbcPreparedStatement jdbcStmt = new DruidJdbcPreparedStatement(
connectionId,
Expand Down