Maria supports 'alter table if exists ...'

This commit is contained in:
Gavin King 2021-02-12 16:04:48 +01:00 committed by Christian Beikov
parent 35643c468a
commit 130733af17
1 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,11 @@ public class MariaDBDialect extends MySQLDialect {
return getVersion() >= 1000; return getVersion() >= 1000;
} }
@Override
public boolean supportsIfExistsAfterAlterTable() {
return getVersion() >= 1050;
}
@Override @Override
public SequenceSupport getSequenceSupport() { public SequenceSupport getSequenceSupport() {
return getVersion() < 1030 return getVersion() < 1030