host
recognition problem in create user
statement
#20592
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.
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
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 :
I hope to see at least the same feedback as mysql
Thank U!!!
The text was updated successfully, but these errors were encountered: