#2577 - Refactor internals remove no longer needed DdlAutoCommit platform option

This commit is contained in:
Rob Bygrave
2022-03-01 22:32:09 +13:00
parent e8df81d78a
commit ffad9abeef
3 changed files with 2 additions and 20 deletions
@@ -606,13 +606,6 @@ public class DatabasePlatform {
this.useMigrationStoredProcedures = useMigrationStoredProcedures;
}
/**
* Normally not needed - overridden in CockroachPlatform.
*/
public boolean isDdlAutoCommit() {
return false;
}
/**
* Return the DB identity/sequence features for this platform.
*
@@ -14,12 +14,4 @@ public class CockroachPlatform extends PostgresPlatform {
this.historySupport = null; // not yet implemented in DDL
}
/**
* Needs a commit after create index such that alter table add foreign key ... succeeds.
*/
@Override
public boolean isDdlAutoCommit() {
return false;
}
}