mysqldump-to-csv
mysqldump-to-csv copied to clipboard
Handling NULLs at end of statemtn
If there is a NULL at end of statement this doesn't handle properly - instead outputting NULL into the CSV.
Needs two more if cases
if column == 'NULL)':
latest_row.append(chr(0) + ')')
continue
if column == 'NULL);':
latest_row.append(chr(0) + ');')
continue