Fix 2.4 tests on MySQL