Skip to content

Conversation

@gaaf
Copy link

@gaaf gaaf commented Mar 29, 2024

Newer MariaDB exports don't set the field's collate if it is the same as the table's collate. To prevent huge diffs between exports of the old and new version, set missing field's collate to the table's collate.

The table's option parsing is moved up so the collate can be extracted before parsing all the fields.

There might be a similar issue with the charset, but I haven't seen that with my datasets.

Newer MariaDB exports don;t set the field's collate if it is the same a
the table's collate. To prevent huge diffs between exports of the old and
new version, set missing field's collate to the table's collate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant