Skip to content

Commit d813994

Browse files
committed
fixup! Return proper error when user tries to enable transactions
1 parent 259682e commit d813994

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clickhouse-jdbc/src/main/java/ru/yandex/clickhouse/ClickHouseConnectionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public void commit() throws SQLException {
227227

228228
@Override
229229
public void rollback() throws SQLException {
230-
throw new SQLException("Cannot commit when auto-commit is enabled");
230+
throw new SQLException("Cannot rollback when auto-commit is enabled");
231231
}
232232

233233
@Override

0 commit comments

Comments
 (0)