-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
about use golang's client #537
Comments
my code are as follows: tx, err := db.Begin()
|
This is most likely a bug on my go client. Let me confirm. If so, I'll have a fix out very soon. |
I just submitted a fix. Can you try again? |
should i rebuild vttablet , and restart it? |
Yes. My fix went in #539 |
ok, i just test it . Error does not appear again. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi ,sougou:
when i use golang's client about vitess to save my data , there is a question appeared.
In the vttablet, the log show as follows:
W0331 16:59:06.763275 12975 sqlquery.go:297] error: missing bind var v3: Sql: "insert into t_login_history(f_account_id, f_ip, f_createtime) values (?,?,?)", BindVars: {v0: 1, v1: "localhost", v2: 1427792377099, #maxLimit: 10001, }
i just only hava 3 params , why it show me , missing bind var v3?
if i use another sql like :
insert into t_login_history(f_account_id, f_ip, f_createtime) values (1, "localhost", 123456), it will be ok.
is there something wrong about my code ?
The text was updated successfully, but these errors were encountered: