iname and index were swapped around in the logic, which prevented the
optional 'pass in null for index name' to work properly. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1629 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -234,11 +234,11 @@ public class JDBCUtil
|
||||
String cname = rs.getString("COLUMN_NAME");
|
||||
String iname = rs.getString("INDEX_NAME");
|
||||
|
||||
if (iname == null) {
|
||||
if (index == null) {
|
||||
if (tname.equals(table) && cname.equals(column)) {
|
||||
matched = true;
|
||||
}
|
||||
} else if (iname.equals(index)) {
|
||||
} else if (index.equals(iname)) {
|
||||
matched = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user