Fixed #20974 -- Added test for Mysql specific validation.