30 Nov 2026
Restoring a backup under a new database name works
- What was broken
- Restoring a backup into a database with a different name failed every time with an unknown database error, because the database was still created under the old name.
- What I changed
- Comment lines before each statement are now skipped, so the create step gets the new name as documented.
- Why it matters
- Backups can be restored into a copy of the database, for testing or recovery.
see the code, #560 ↗ (opens in a new tab)
30 Nov 2026
Created and updated times survive a backup on MySQL 8
- What was broken
- On MySQL 8, columns that default to the current time were left out of the dump, so a restore set every row's created and updated time to the restore time.
- What I changed
- Only real computed columns are skipped now. Columns with a time default are backed up like any other.
- Why it matters
- Restored rows keep their original timestamps.
see the code, #559 ↗ (opens in a new tab)
30 Nov 2026
Backups no longer stop at very large unsigned numbers
- What was broken
- A table with a very large unsigned number broke the backup. Sometimes it failed, and sometimes it reported success with most of the table missing.
- What I changed
- These numbers are read correctly, and a row that cannot be read now fails the backup instead of being skipped.
- Why it matters
- A backup that says it worked holds the whole table.
see the code, #558 ↗ (opens in a new tab)
20 Nov 2026
Triggers come back from a backup with the right timing
- What was broken
- Backups wrote every trigger as one that runs after a change, even ones meant to run before it. Restores then failed or brought back triggers that behave differently.
- What I changed
- Each trigger is now written with the timing it really has.
- Why it matters
- Databases that use triggers restore and keep working as before.
see the code, #557 ↗ (opens in a new tab)
20 Nov 2026
Empty binary values come back empty, not missing
- What was broken
- Backups wrote empty binary fields as NULL. After a restore, a value that was empty became missing, which can break apps and constraints that expect a value.
- What I changed
- Empty binary values are now written as empty strings, so a restore gives back exactly what was stored.
- Why it matters
- Backups restore the data as it was.
see the code, #556 ↗ (opens in a new tab)
19 Nov 2026
Backups restore the same decimals, fractions of a second and times
- What was broken
- Dumps kept only six decimals of floating point numbers, dropped fractions of a second, and shifted TIMESTAMP values by the server's time zone offset on restore.
- What I changed
- Numbers are written with all their digits, times keep their fractions, and the dump reads timestamps in the same zone it restores them in.
- Why it matters
- A restored database holds the same values as the one that was backed up.
see the code, #555 ↗ (opens in a new tab)
19 Nov 2026
Binary and bit columns survive a backup and restore
- What was broken
- Binary and bit values were written into the dump as raw bytes, so restores failed with a syntax error or brought back wrong values.
- What I changed
- These values are now written as escaped binary strings, the same way other binary columns already were.
- Why it matters
- Backups of tables with hashes, tokens or flags restore correctly.
see the code, #554 ↗ (opens in a new tab)
← every project