Skip to content

Commit

Permalink
fix for retrieving schema info
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Apr 11, 2013
1 parent 9c37045 commit 833c306
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1268,7 +1268,7 @@ public List<String> execute(Connection connection) throws SQLException {
if (columnCount > 1) {
schemaCatalog = rs.getString(2);
}
if (StringUtils.isBlank(catalog) && !schemas.contains(schema)) {
if ((StringUtils.isBlank(schemaCatalog) || StringUtils.isBlank(catalog)) && !schemas.contains(schema)) {
schemas.add(schema);
} else if (StringUtils.isNotBlank(schemaCatalog)
&& schemaCatalog.equals(catalog)) {
Expand Down

0 comments on commit 833c306

Please sign in to comment.