We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mysql> update User set State=(@A := 2) where UserID = 134; ERROR 1105 (HY000): vtgate: http://ourtest:15001/: syntax error at position 28 near ':'
The text was updated successfully, but these errors were encountered:
The problem appears to be that the Vitess parser isn't recognizing the := syntax. Possibly related to this line of code: https://github.com/vitessio/vitess/blob/master/go/vt/sqlparser/token.go#L546
:=
Also here: https://github.com/vitessio/vitess/blob/master/go/vt/sqlparser/sql.y
Sorry, something went wrong.
According to discussion of this issue on Vitess Slack with the devs, the assignment operator is not supported. Closing this issue.
systay
No branches or pull requests
mysql> update User set State=(@A := 2) where UserID = 134;
ERROR 1105 (HY000): vtgate: http://ourtest:15001/: syntax error at position 28 near ':'
The text was updated successfully, but these errors were encountered: