We need the column name.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1861 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-06-17 21:36:57 +00:00
parent b181ae231a
commit 3b8e79e300
+3 -2
View File
@@ -537,10 +537,11 @@ public class JDBCUtil
/** /**
* Removes a named index from the specified table. * Removes a named index from the specified table.
*/ */
public static void dropIndex (Connection conn, String table, String iname) public static void dropIndex (Connection conn, String table,
String cname, String iname)
throws SQLException throws SQLException
{ {
if (!tableContainsIndex(conn, table, iname)) { if (!tableContainsIndex(conn, table, cname, iname)) {
return; return;
} }