pingcap/tidb

`host` recognition problem in `create user` statement

Open

#20 592 ouverte le 22 oct. 2020

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Go (6 186 forks)batch import
component/privilegegood first issueseverity/moderatesig/sql-infratype/bug

Métriques du dépôt

Stars
 (40 090 stars)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

Description

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!!!

Guide contributeur