|
|
@ -473,7 +473,7 @@ public abstract class ConnectionProxy implements IHikariConnectionProxy
|
|
|
|
checkClosed();
|
|
|
|
checkClosed();
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
delegate.setCatalog(catalog);
|
|
|
|
delegate.setCatalog(catalog);
|
|
|
|
isCatalogDirty = !catalog.equals(parentPool.catalog);
|
|
|
|
isCatalogDirty = (catalog != null && !catalog.equals(parentPool.catalog)) || (catalog == null && parentPool.catalog != null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (SQLException e) {
|
|
|
|
catch (SQLException e) {
|
|
|
|
throw checkException(e);
|
|
|
|
throw checkException(e);
|
|
|
|