Fixed test for #20401 so that it runs on MySQL