HHH-14772 InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSchema() method returns currentCatalog if schema == null

This commit is contained in:
Andrea Boriero 2021-07-09 14:47:58 +02:00 committed by Sanne Grinovero
parent f60d8bcd12
commit c0041ba073
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
log.sqlWarning( ignore.getErrorCode(), ignore.getSQLState() );
}
}
return currentCatalog;
return currentSchema;
}
private Identifier getCurrentCatalog(JdbcEnvironment jdbcEnvironment) {