Skip to content

Commit af70e85

Browse files
author
Paultagoras
committed
Update StatementImpl.java
1 parent 2c01532 commit af70e85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jdbc-v2/src/main/java/com/clickhouse/jdbc/StatementImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public ResultSetImpl executeQuery(String sql, QuerySettings settings) throws SQL
150150
lastQueryId = UUID.randomUUID().toString();
151151
settings.setQueryId(lastQueryId);
152152
}
153+
LOG.debug("Query ID: {}", lastQueryId);
153154

154155
try {
155156
lastSql = parseJdbcEscapeSyntax(sql);
@@ -312,7 +313,7 @@ public boolean execute(String sql) throws SQLException {
312313
return execute(sql, new QuerySettings().setDatabase(schema));
313314
}
314315

315-
private boolean execute(String sql, QuerySettings settings) throws SQLException {
316+
public boolean execute(String sql, QuerySettings settings) throws SQLException {
316317
checkClosed();
317318
StatementType type = parseStatementType(sql);
318319

0 commit comments

Comments
 (0)