MariaDB 10.5 adds a suffix on old datatypes #1885
Merged
lunny
merged 2 commits from zeripath/xorm:cope-with-mariadb-5.3-suffix
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'zeripath/xorm:cope-with-mariadb-5.3-suffix'
Deleting a branch is permanent. It CANNOT be undone. Continue?
MariaDB when encountering an old datetime type will add a suffix of /* mariadb-5.3 */
on its schema information page. Xorm does not understand this and then its mappings
fail.
The simplest solution is just to remove any fixed suffix and that is what this PR does
See https://mariadb.com/kb/en/time/ for more details about the comment.
Related: https://github.com/go-gitea/gitea/issues/15277
Signed-off-by: Andrew Thornton art27@cantab.net
21881d8b84
into master 1 year ago21881d8b84
.