py-mysql2pgsql icon indicating copy to clipboard operation
py-mysql2pgsql copied to clipboard

add newline to the front of the string

Open robbyt opened this issue 13 years ago • 2 comments

added a first_row variable, so that a newline is added to the front of each row, but not the first. This is required because the . needs to be on the same line as the last line of the copy from stdin block of data when importing blobs.

robbyt avatar Aug 01 '12 07:08 robbyt

  1. develop branch that you used hasn't been fully merged to master. I don't think I would pull your patch as I don't know what's Philip is doing there.
  2. I'm generally new to MySQL and haven't worked with blobs. Can you provide a simple test case so I can check it?

kworr avatar Aug 01 '12 10:08 kworr

I'm not really sure how to provide a test case for this. It worked for my migration, after some hacking.

robbyt avatar Sep 20 '12 03:09 robbyt