Skip to content

Commit dc0833a

Browse files
committed
Make format
1 parent bd25434 commit dc0833a

File tree

3 files changed

+98
-95
lines changed

3 files changed

+98
-95
lines changed

src/main/java/org/duckdb/DuckDBDatabaseMetaData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,8 @@ public ResultSet getCatalogs() throws SQLException {
689689
public ResultSet getSchemas() throws SQLException {
690690
Statement statement = conn.createStatement();
691691
statement.closeOnCompletion();
692-
return statement.executeQuery(
693-
"SELECT schema_name AS 'TABLE_SCHEM', catalog_name AS 'TABLE_CATALOG' FROM information_schema.schemata ORDER BY \"TABLE_CATALOG\", \"TABLE_SCHEM\"");
692+
return statement.executeQuery("SELECT schema_name AS 'TABLE_SCHEM', catalog_name AS 'TABLE_CATALOG' FROM "
693+
+ "information_schema.schemata ORDER BY \"TABLE_CATALOG\", \"TABLE_SCHEM\"");
694694
}
695695

696696
@Override

src/main/java/org/duckdb/DuckDBPreparedStatement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ public int executeUpdate() throws SQLException {
189189
requireNonBatch();
190190
execute();
191191
if (!(returnsChangedRows || returnsNothing)) {
192-
throw new SQLException(
193-
"executeUpdate() can only be used with queries that return nothing (eg, a DDL statement), or update rows");
192+
throw new SQLException("executeUpdate() can only be used with queries that return nothing (eg, a DDL "
193+
+ "statement), or update rows");
194194
}
195195
return getUpdateCountInternal();
196196
}

0 commit comments

Comments
 (0)