Skip to content

Support uppercase user defined variables#6225

Merged
harshit-gangal merged 2 commits intovitessio:masterfrom
planetscale:fix-udv-uppercase
May 26, 2020
Merged

Support uppercase user defined variables#6225
harshit-gangal merged 2 commits intovitessio:masterfrom
planetscale:fix-udv-uppercase

Conversation

@harshit-gangal
Copy link
Copy Markdown
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>
@harshit-gangal harshit-gangal requested a review from sougou as a code owner May 26, 2020 13:18
@harshit-gangal harshit-gangal requested a review from systay May 26, 2020 13:23
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