[#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:
parent
fb9fd1e1f4
commit
496e381e79
@ -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);
|
||||
|
||||
/**
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user