Commit 13d0b98
Arun Kuruvila
Bug#18284273: MYSQLDUMP SILENTLY QUITS WHEN IT ENCOUNTERS AN
ERROR.
Description:- The client utility, "mysqldump" fails silently
without printing any error message when it encounters an
error while executing FLUSH LOGS.
Analysis:- "mysqldump" uses the C API, "mysql_refresh()", to
flush the logs. Currently no error messages are printed upon
"mysql_refresh()" failure in "mysqldump".
Fix:- Proper error messages are printed upon "mysql_refresh()"
failure.
NOTE:- mtr test case is not added since its difficult to
simulate an error for "mysql_refresh()" through mtr.1 parent 75582fb commit 13d0b98
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5825 | 5825 | | |
5826 | 5826 | | |
5827 | 5827 | | |
| 5828 | + | |
| 5829 | + | |
5828 | 5830 | | |
| 5831 | + | |
5829 | 5832 | | |
5830 | 5833 | | |
5831 | 5834 | | |
| |||
0 commit comments