Bug #44995 | mysqldump does not properly format MAX DOUBLE values in its output. | ||
---|---|---|---|
Submitted: | 20 May 2009 20:33 | ||
Reporter: | Patrick Crews | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
Version: | 5.0+ | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | dump/restore, max double, MySQL |
[20 May 2009 20:33]
Patrick Crews
[21 May 2009 20:04]
Patrick Crews
Recommend adding a test case for this fix to mysqldump_restore.test which will be added for Bug#40465. Did not include such a test case in this file yet as it would currently fail.
[22 May 2009 14:09]
Patrick Crews
After checking out the mysqldump file again, I found that the DOUBLE values in the INSERT statements are not placed in quotes, which is the cause of the rejection on restore. Altering the dump file to add quotes to the INSERTs results in a successful restore. I have attached the original, failing mysqldump output here.
[22 May 2009 14:09]
Patrick Crews
failing mysqldump output (no quotes in INSERTs)
Attachment: dump.dat (, text), 1.73 KiB.
[22 Jan 2010 6:46]
Anestis Sismanidis
I can reproduce this bug with Ubuntu 9.10 (desktop and server editions). Currently I am using the replace command to workaround the bug e.g: replace 1.79769313486232e+308 \'1.79769313486232e+308\' -- filename