← Back to team overview

maria-discuss team mailing list archive

mysqldump mishandling DB name?

 

In client/mysqldump.c, there is a command:

mysql_real_escape_string(mysql, db_name_buff, db, strlen(db));

… which appears to be doubling up and backslashes in the database name when the “--routines” argument is passed to mysqldump.

This bug affects MySQL 5.7.9 (and back at least to 5.1); I’ve filed a MySQL bug here:

https://bugs.mysql.com/bug.php?id=78932

-FG