-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Bug - insert statements fail under yet to be determined conditions #225
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
Extra details about the tests : All cases involve the following :
What changes between the tests :
I was not able to find the exact source of the bug, but there seems to be a threshold on the amount of sent parameters, over which these insert statements start to fail. The "tipping point" which I found is between "TEST 3" and "TEST 4" :
I will try to look for more details, but I am not yet familiar with the internals of the driver. |
I'll dig deeper into this later, but first I'd like you to comment on a hunch of mine. |
@LeGEC I checked this with the current master - all your tests already pass. You are apparently using an older version of the driver. That's pretty easy - the current master is not |
@arnehormann The tests do indeed pass on master. Thx for the pointer. Do you have a planned release date ? |
No fixed date yet, but "soon": https://github.com/go-sql-driver/mysql/issues?milestone=6&state=open |
@arnehormann, @julienschmidt : How can I make this fix "go gettable" ? I forked the project, how should I set up the tags on the fork so that "go get --fork--/mysql" gets me the fix ? Thanks in advance |
|
Thanks, worked like a charm. btw, the fork is : |
I stumbled on a bug involoving the interaction between the driver and MySQL.
After much trial & error, I managed to extract the following test cases :
gist : extra_mysql_test.go
This file contains 5 test cases.
On my machine : Tests 1-2-3 pass, tests 4-5 fail. I would expect the 5 tests to pass.
I would like to know if it fails on other configurations.
Go version : go1.2.1 linux/amd64
MySQL version : the original bug was triggered under MySQL 5.1.63 (Debian squeeze), and MySQL 5.5.35 (Ubuntu 13.10).
The text was updated successfully, but these errors were encountered: