HHH-14772 InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSchema() method returns currentCatalog if schema == null
This commit is contained in:
parent
f60d8bcd12
commit
c0041ba073
|
@ -325,7 +325,7 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
|
||||||
log.sqlWarning( ignore.getErrorCode(), ignore.getSQLState() );
|
log.sqlWarning( ignore.getErrorCode(), ignore.getSQLState() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return currentCatalog;
|
return currentSchema;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Identifier getCurrentCatalog(JdbcEnvironment jdbcEnvironment) {
|
private Identifier getCurrentCatalog(JdbcEnvironment jdbcEnvironment) {
|
||||||
|
|
Loading…
Reference in New Issue