Fix descriptor test for mysql.