KEYCLOAK-18074 Ignore server version for MySQL in ChangeLogHistoryService

This commit is contained in:
Hynek Mlnarik 2021-05-11 14:08:19 +02:00 committed by Hynek Mlnařík
parent 1be81bff7a
commit 8feefe94ac

View file

@ -50,7 +50,7 @@ public class CustomChangeLogHistoryService extends StandardChangeLogHistoryServi
@Override
public List<RanChangeSet> getRanChangeSets() throws DatabaseException {
Database database = getDatabase();
if (! (database instanceof MySQLDatabase) || database.getDatabaseMajorVersion() < 8) {
if (! (database instanceof MySQLDatabase)) {
return super.getRanChangeSets();
}
if (this.ranChangeSetList == null) {