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 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.