| Bug #41206 | mysqldump always replace LF in a body of routine with CRLF - leading CRCRLFs | ||
|---|---|---|---|
| Submitted: | 3 Dec 2008 17:12 | Modified: | 12 Dec 2008 7:53 |
| Reporter: | Serdar S. Kacar | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
| Version: | 5.0.72, 5.1.30 | OS: | Windows |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | mysqldump CRLF | ||
[3 Dec 2008 17:12]
Serdar S. Kacar
[3 Dec 2008 17:13]
Serdar S. Kacar
/* category edit */
[4 Dec 2008 5:03]
Valeriy Kravchuk
Verified just as described (one should add -R to the command line to dump routines, though). mysqldump client indeed produces dump with 0D0D0A character sequences that is incorrect.
[7 Dec 2008 10:46]
Serdar S. Kacar
/* edit title typo */
[12 Dec 2008 7:53]
Valeriy Kravchuk
It was pointed by my colleagues that this may be even not a bug. There is no good way to prevent this while redirecting output on Windows, so --result-file option should be used as documented at http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html#option_mysqldump_result-file.
