test: mysqldump lock table read

refs #2098
Fix mysqldump lock table read. refs #2098