-
Notifications
You must be signed in to change notification settings - Fork 116
LOAD DATA LOCAL Broken? #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
sample program:
In the above form, I get errors of the form:
When I change
|
* Fixes for both "buffered" & "unbuffered" cursor types * Registered `test_load_local` to run with tests * Refactored `test_load_local` tests to work with the tornado framework More information here: PyMySQL#29
BTW, Why do you use Tornado-MySQL? In general, threadpool is better than async for MySQL. Especially, file I want to remove LOAD LOCAL IN FILE support instead of fix.
|
I apologize if any of this comes off as confrontational... that was not my intention and I am willing to collaborate with you now & in the future. I promise to have the best intentions 😄 |
Why I start this project is just my personal interest.
If so, I recommend thread.
Good job about it. But I want to minimize what I maintain.
Because
|
Plus
|
I'm having issues getting
LOAD DATA LOCAL INFILE...
commands to run, getting the following error:I checked and there is a test file for this functionality (https://github.com/PyMySQL/Tornado-MySQL/blob/master/tornado_mysql/tests/test_load_local.py), but the test doesn't run. Looks like they are old and I had to sprinkle
yield
statements to even get them to work w/ the tornado async interfaces. I moved those tests into a file that was being picked up (didn't investigate too much why the tests weren't running from that file), and indeed got the same errors as when I ran the queries manually.Going against MySQL Server 5.5 (specifically
Server version: 5.5.47-0ubuntu0.14.04.1
).Happy to provide more details and/or help fix. But this is a major roadblock for me and would appreciate any feedback / collaboration.
Full stacktrace:
The text was updated successfully, but these errors were encountered: