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(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a comment might be useful here

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())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

);
final DruidJdbcPreparedStatement jdbcStmt = new DruidJdbcPreparedStatement(
connectionId,
Expand Down