[#4792] Exclude rendering the "DEFAULT_CATALOG" (better fix with [#4793])

This commit is contained in:
lukaseder 2015-12-10 15:04:08 +01:00
parent 75ff22fe99
commit 8596290751

View File

@ -106,7 +106,7 @@ public class SchemaImpl extends AbstractQueryPart implements Schema {
// [#4793] TODO: Support this
// Utils.getMappedCatalog(ctx.configuration(), getCatalog());
if (mappedCatalog != null) {
if (mappedCatalog != null && !StringUtils.isBlank(mappedCatalog.getName())) {
ctx.visit(mappedCatalog);
ctx.sql('.');
}