I've pushed a fix with the added check. I've confirmed it worked to (correctly) skip the test on MariaDB. I'll leave this open in case there are still failures on other databases.