Bug #20588 mysqldump.test may fail, depending on system-wide configuration
Submitted: 20 Jun 2006 22:06 Modified: 4 Jul 2006 14:11
Reporter: Tatiana Azundris Nuernberg Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.0.23 OS:
Assigned to: Tatiana Azundris Nuernberg CPU Architecture:Any

[20 Jun 2006 22:06] Tatiana Azundris Nuernberg
mysqldump.test calls my_print_defaults in a way that includes the systemwide my.cnf, so the results will be beyond our control and depend on whatever the user has in their my.cnf, namely the [mysqldump] section.

How to repeat:
put some funny options in system-wide my.cnf, e.g.

max_allowed_packet = 16M

Then run mysqldump.test, this should fail showing the above lines as extraneous.

Suggested fix:
my_print_defaults should be called with --config-file rather than --defaults-extra-file to prevent inclusion of system-wide defaults and use our config-file only.
[22 Jun 2006 22:32] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

[26 Jun 2006 18:32] Tatiana Azundris Nuernberg
pushed to 5.0.23-maint
[4 Jul 2006 7:04] Tatiana Azundris Nuernberg
merged into 5.0.23
[4 Jul 2006 14:11] Paul Dubois
Changes to test case only.
No changelog entry needed.