mysqldump-php
mysqldump-php copied to clipboard
Order table names for MariaDB-to-MySQL compatibility
Hi, unlike MySQL, MariaDB stores table names into INFORMATION_SCHEMA.TABLES
randomly.
This result in a different output on different systems.
The fix proposed is compatible with both MySQL and MariaDB, all versions included.
Thanks @Slamdunk . I added your fix on our fork https://github.com/druidfi/mysqldump-php/pull/9
Tests now pass with MariaDB 10.6 https://github.com/druidfi/mysqldump-php/actions/runs/2953510316