Don't narrow search by catalog or schema.

Apparently null is different from "" and that started to matter some time in
the last twenty five years.
This commit is contained in:
Michael Bayne
2025-01-20 14:48:54 -08:00
parent 26d9abeffc
commit 5396a98410
@@ -315,7 +315,7 @@ public class JDBCUtil
throws SQLException
{
boolean matched = false;
ResultSet rs = conn.getMetaData().getTables("", "", name, null);
ResultSet rs = conn.getMetaData().getTables(null, null, name, null);
while (rs.next()) {
String tname = rs.getString("TABLE_NAME");
if (name.equals(tname)) {