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

regression: use doesn't work from mysql client #6153

Closed
sougou opened this issue May 6, 2020 · 0 comments · Fixed by #6157
Closed

regression: use doesn't work from mysql client #6153

sougou opened this issue May 6, 2020 · 0 comments · Fixed by #6157
Milestone

Comments

@sougou
Copy link
Contributor

sougou commented May 6, 2020

In the example, after resharding is done, I tried targeting shards, but it seems to have no effect.
@morgo We'll likely have to create patch for 6.0 after this is fixed.

mysql> use `customer:-80`
Database changed
mysql> select * from customer;
+-------------+--------------------+
| customer_id | email              |
+-------------+--------------------+
|           4 | dan@domain.com     |
|           1 | alice@domain.com   |
|           2 | bob@domain.com     |
|           3 | charlie@domain.com |
|           5 | eve@domain.com     |
+-------------+--------------------+
5 rows in set (0.00 sec)

mysql> use `customer:80-`
Database changed
mysql> select * from customer;
+-------------+--------------------+
| customer_id | email              |
+-------------+--------------------+
|           1 | alice@domain.com   |
|           2 | bob@domain.com     |
|           3 | charlie@domain.com |
|           5 | eve@domain.com     |
|           4 | dan@domain.com     |
+-------------+--------------------+
5 rows in set (0.00 sec)

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 a pull request may close this issue.

2 participants