Skip to content

Commit

Permalink
HHH-14772 InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSche…
Browse files Browse the repository at this point in the history
…ma() method returns currentCatalog if schema == null
  • Loading branch information
dreab8 authored and Sanne committed Jul 18, 2021
1 parent f60d8bc commit c0041ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private Identifier getCurrentSchema(JdbcEnvironment jdbcEnvironment) {
log.sqlWarning( ignore.getErrorCode(), ignore.getSQLState() );
}
}
return currentCatalog;
return currentSchema;
}

private Identifier getCurrentCatalog(JdbcEnvironment jdbcEnvironment) {
Expand Down

0 comments on commit c0041ba

Please sign in to comment.