Correct default detection in MariaDB >= 10.2.7 #1778

Merged
lunny merged 7 commits from zeripath/xorm:fix-defaults-sync2-mysql into master 1 year ago
zeripath commented 1 year ago

MariaDB in version 10.2.7 changed the reporting of COLUMN_DEFAULT in
INFORMATION_SCHEMA.COLUMNS to quote string values.

This PR adds a version detection test to the columns query.

References: https://jira.mariadb.org/browse/MDEV-13132
References: https://jira.mariadb.org/browse/MDEV-15390

Signed-off-by: Andrew Thornton art27@cantab.net

MariaDB in version 10.2.7 changed the reporting of COLUMN_DEFAULT in INFORMATION_SCHEMA.COLUMNS to quote string values. This PR adds a version detection test to the columns query. References: https://jira.mariadb.org/browse/MDEV-13132 References: https://jira.mariadb.org/browse/MDEV-15390 Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath added 1 commit 1 year ago
7f8feb6535
Correct default detection in MariaDB >= 10.2.7
zeripath added 1 commit 1 year ago
d78b56a77f
fix drone
zeripath added 1 commit 1 year ago
1e7e901d3b
Try MariaDB 10.4
Poster

Interesting MariaDB 10.5 fails the TestForUpdate test. MariaDB 10.4 does work.

Interesting MariaDB 10.5 fails the TestForUpdate test. MariaDB 10.4 does work.
Owner

Please resolve the conflicts

Please resolve the conflicts
lunny added this to the 1.0.4 milestone 1 year ago
zeripath added 2 commits 1 year ago
Poster

Conflicts resolved.

Conflicts resolved.
zeripath added 1 commit 1 year ago
4864905be0
try again ci
Poster

CI Failures not related to this PR.

CI Failures not related to this PR.
zeripath added 1 commit 1 year ago
1b399da66c
try again ci
lunny approved these changes 1 year ago
Dismissed
lunny merged commit f8c91ec4a3 into master 1 year ago
zeripath deleted branch fix-defaults-sync2-mysql 1 year ago
Poster

Thanks @lunny

Thanks @lunny
continuous-integration/drone/pr Build is passing
The pull request has been merged as f8c91ec4a3.
Sign in to join this conversation.
Loading…
There is no content yet.