pingcap/tidb

`host` recognition problem in `create user` statement

Open

#20,592 创建于 2020年10月22日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Go (6,186 fork)batch import
component/privilegegood first issueseverity/moderatesig/sql-infratype/bug

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

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

贡献者指南