[BUG]In csv mode, **.dat** files occasionally start with 'INSERT INTO tabName VALUES
' in the last line of records
#695
Labels
Milestone
Describe the bug
With csv enabled, the exported file should be in plain text format. But there is a chance that the last line in the .dat file starts with '
INSERT INTO tabName VALUES
'. as follows:To Reproduce
Command executed:
mydumper -T $tabName -h test.host -u xxxx -p xxxxx -B $DB -k -m -o $outputDir -L $logFile -t 12 --order-by-primary --csv --where "$pkName >= $minNum and $pkName < $curMax"
What mydumper and myloader version has been used?
mydumper 0.12.3-[1,2], built against MySQL 5.7.37-40
Expected behavior
In csv mode, it should be in plain text format, and no SQL should appear
Log
no error log
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: