[jOOQ/jOOQ#9354] Also use MySQL workaround for MariaDB
`ALTER TABLE ... ALTER ... DROP DEFAULT` is better emulated as `ALTER TABLE ... ALTER ... SET DEFAULT NULL` on MariaDB.
This commit is contained in:
parent
2229e4ff71
commit
355ab8b35d
@ -1482,8 +1482,11 @@ final class AlterTableImpl extends AbstractRowCountQuery implements
|
||||
|
||||
|
||||
|
||||
|
||||
// MySQL supports DROP DEFAULT, but it does not work correctly:
|
||||
// https://bugs.mysql.com/bug.php?id=81010
|
||||
// Same for MariaDB
|
||||
case MARIADB:
|
||||
case MYSQL:
|
||||
ctx.sql(' ').visit(K_SET_DEFAULT).sql(' ').visit(K_NULL);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user