Aiven-Open / myhoard

MySQL Backup and Point-in-time Recovery service
Apache License 2.0
93 stars 20 forks source link

Rebuild tables without primary key or with invalid dates #149

Closed kmichel-aiven closed 1 year ago

kmichel-aiven commented 1 year ago

About this change: What it does, why it matters

If the SQL mode or primary keys requirement was changed to something more strict since the tables were originally created, rebuilding the tables will fail.

Rebuilding essentially behaves as if the CREATE TABLE statement was re-executed.

To fix that, lower the requirements while rebuilding the tables.