pingcap/tidb

`host` recognition problem in `create user` statement

Open

#20.592 aperta il 22 ott 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
component/privilegegood first issueseverity/moderatesig/sql-infratype/bug

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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: 689a6b6439ae7835947fcaccf329a3fc303986cb 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!!!

Guida contributor