MariaDB 10.3.4+ problem with add column PERIOD

Description

According to https://issues.jboss.org/browse/KEYCLOAK-6411 I figured out, that the mariadb-java-client transforms


<addColumn tableName="xyz">
<column name="PERIOD" type="INT" defaultValueNumeric="30">
<constraints nullable="true"/>
</column>
</addColumn>
to
ALTER TABLE xyz ADD PERIOD INT NULL DEFAULT 30
which causes an error in MariaDB since version 10.3.4.

Environment

MariaDB 10.3.4+ (Used by Keycloak)

Status

Assignee

Unassigned

Reporter

Sebastian Luksch

Labels

None

Components

Fix versions

Affects versions

3.4.1

Priority

Major