MariaDB compatibility fix
The previous compatibility fix for versions of MariaDB 11.4 and higher resulted in a performance drop for sites using MySQL. This update resolves the performance drop while maintaining compatibility with MariaDB.