Skip to content
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

Support uppercase user defined variables #6225

Merged
merged 2 commits into from
May 26, 2020

Conversation

harshit-gangal
Copy link
Member

@harshit-gangal harshit-gangal commented May 26, 2020

This handled uppercase UDV which causing issues of missing bindvars from the vttablet
#6218

Similar to mysql behaviour.

mysql > select @myvalue;
+----------+
| @myvalue |
+----------+
| NULL     |
+----------+
1 row in set (0.00 sec)

mysql > set @MYVALUE = 42;
Query OK, 0 rows affected (0.00 sec)

mysql > select @myvalue;
+----------+
| @myvalue |
+----------+
|       42 |
+----------+
1 row in set (0.00 sec)

Signed-off-by: Harshit Gangal harshit@planetscale.com

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@harshit-gangal harshit-gangal merged commit 783474f into vitessio:master May 26, 2020
@deepthi deepthi added this to the v7.0 milestone Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants