mysqldump-to-csv icon indicating copy to clipboard operation
mysqldump-to-csv copied to clipboard

Handling NULLs at end of statemtn

Open alvinpb opened this issue 8 years ago • 0 comments

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

alvinpb avatar Jul 12 '16 06:07 alvinpb