If you import a CSV that does not end with a trailing new line, it comes back with an error: "Invalid format of CSV input on line 25."
And the last line of the CSV is not imported. This is a basic CSV as exported from Google Docs.
Update: this worked fine with another CSV. The ones it fails on are when the last line has blank data, for example this 3 column table:
1,test,Q 2,tests,W 3,testh,E 4,testt,R 5,testu,
Hi,
Here is my pull request for this bug: https://github.com/phpmyadmin/phpmyadmin/pull/762
Thanks.
I submitted a pull request that fixes this bug: https://github.com/phpmyadmin/phpmyadmin/pull/763
Sorry, Hugues. I didn't see that you submitted a pull request until after I issued mine.
Fixed with https://github.com/phpmyadmin/phpmyadmin/pull/763
Update: this worked fine with another CSV. The ones it fails on are when the last line has blank data, for example this 3 column table:
1,test,Q
2,tests,W
3,testh,E
4,testt,R
5,testu,
Hi,
Here is my pull request for this bug: https://github.com/phpmyadmin/phpmyadmin/pull/762
Thanks.
I submitted a pull request that fixes this bug:
https://github.com/phpmyadmin/phpmyadmin/pull/763
Sorry, Hugues. I didn't see that you submitted a pull request until after I issued mine.
Fixed with https://github.com/phpmyadmin/phpmyadmin/pull/763