Skip to content

Commit

Permalink
dbeaver#22963 Update boolean expression in CubridMetaModel
Browse files Browse the repository at this point in the history
  • Loading branch information
longhaseng52 committed May 17, 2024
1 parent 756f988 commit 0156cef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public JDBCStatement prepareTableColumnLoadStatement(
@NotNull GenericStructContainer owner,
@Nullable GenericTableBase forTable)
throws SQLException {
boolean multiSchema = forTable != null ? ((CubridDataSource) forTable.getDataSource()).getSupportMultiSchema() : false;
boolean multiSchema = forTable != null && ((CubridDataSource) forTable.getDataSource()).getSupportMultiSchema();
StringBuilder sql = new StringBuilder();
sql.append("select *, def_order + 1 as ref_order from db_attribute ");
if (forTable != null) {
Expand Down

0 comments on commit 0156cef

Please sign in to comment.