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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user