[#8634] Remove MySQL support for DROP INDEX IF EXISTS

MySQL does not support this and it cannot easily be emulated.
This commit is contained in:
Knut Wannheden 2019-05-16 08:03:33 +02:00
parent fb9fd1e1f4
commit 496e381e79
2 changed files with 6 additions and 6 deletions

View File

@ -9665,7 +9665,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropIndexIfExists(String)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, SQLITE })
DropIndexOnStep dropIndexIfExists(String index);
/**
@ -9676,7 +9676,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropIndexIfExists(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, SQLITE })
DropIndexOnStep dropIndexIfExists(Name index);
/**
@ -9687,7 +9687,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropIndexIfExists(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, SQLITE })
DropIndexOnStep dropIndexIfExists(Index index);
/**

View File

@ -7841,7 +7841,7 @@ public class DSL {
*
* @see DSLContext#dropIndexIfExists(String)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, SQLITE })
public static DropIndexOnStep dropIndexIfExists(String index) {
return dsl().dropIndexIfExists(index);
}
@ -7854,7 +7854,7 @@ public class DSL {
*
* @see DSLContext#dropIndexIfExists(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, SQLITE })
public static DropIndexOnStep dropIndexIfExists(Name index) {
return dsl().dropIndexIfExists(index);
}
@ -7867,7 +7867,7 @@ public class DSL {
*
* @see DSLContext#dropIndexIfExists(Index)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, SQLITE })
public static DropIndexOnStep dropIndexIfExists(Index index) {
return dsl().dropIndexIfExists(index);
}