Re: mysqldump --extended-inserts row on new line
Posted by:
Lon B
Date: July 08, 2011 09:05AM
The extended format cannot be 100% properly parsed based on the comma or parenthesis, you would to count fields. The best solution, fix mysqldump to linebreak on output.
Very minor change:
On line
3506, you can see where the row-ending comma is output:
fputc(',',md_result_file); /* Always row break */
Simply insert this line immediately after line 3506:
fputc('\n',md_result_file); /* Lon Binder says wrap that line! */
re-compile and done.
Subject
Views
Written By
Posted
7878
May 16, 2011 09:11AM
3126
May 18, 2011 10:53PM
Re: mysqldump --extended-inserts row on new line
4669
July 08, 2011 09:05AM
2708
July 08, 2011 08:48PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.