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

host recognition problem in create user statement #20592

Open
glkappe opened this issue Oct 22, 2020 · 4 comments
Open

host recognition problem in create user statement #20592

glkappe opened this issue Oct 22, 2020 · 4 comments
Labels
component/privilege good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@glkappe
Copy link

glkappe commented Oct 22, 2020

tidb:
Note that there is a line break operation in create user and host.
There are also line breaks in the user table
And when I delete this user also need to have a line break

image
image

tidb version:
`
MySQL [(none)]> select tidb_version();
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v4.0.1
Edition: Community
Git Commit Hash: 689a6b6
Git Branch: heads/v4.0.1
UTC Build Time: 2020-06-15 03:54:18
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

MySQL [(none)]>
`

in mysql :

image

I hope to see at least the same feedback as mysql

Thank U!!!

@glkappe glkappe added the type/bug The issue is confirmed as a bug. label Oct 22, 2020
@bb7133 bb7133 removed the sig/sql-infra SIG: SQL Infra label Nov 4, 2020
@wjhuang2016 wjhuang2016 added the sig/sql-infra SIG: SQL Infra label Dec 10, 2020
@ou-bing
Copy link
Contributor

ou-bing commented Dec 20, 2020

/pick-up

@ti-challenge-bot
Copy link

It is not a pickable issue!

Details

Tip : If you want this issue to be picked, you need to add a challenge-program label to it.

Warning: None

@xuhui-lu
Copy link
Contributor

@ou-bing Hi, have you already worked on this issue? If not, I can begin to work on it. Recent I am trying to be more familiar with the ddl pkg, this issue could be a good practice.

@ou-bing
Copy link
Contributor

ou-bing commented Dec 27, 2020

@ou-bing Hi, have you already worked on this issue? If not, I can begin to work on it. Recent I am trying to be more familiar with the ddl pkg, this issue could be a good practice.

I haven't started work yet, you can try to fix it.

@tisonkun tisonkun added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. and removed difficulty/easy labels Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/privilege good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants