Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.3.9, 10.2.21
-
CentOS 7
Description
We have found that MariaDB back-ups fail to restore if they include CHECKs on a column with COMMENTS.
If we edit the SQL dump file, locate the lines with CHECK and COMMENT, and manually delete the COMMENT, then the restore will work.
Alternatively, if we edit the DB prior to back-up, deleting comments against columns with CHECKs, and then perform the back-up - the restore completes.
Attachments
Issue Links
- duplicates
-
MDEV-17654 Incorrect syntax returned for column with CHECK constraint in the "SHOW CREATE TABLE ..." result
- Closed
-
MDEV-19163 When you have a COMMENT and a CHECK on a column, the SHOW CREATE TABLE creates an invalid query
- Closed