-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add description about user ATTRIBUTE #11716
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/cc xiongjiwei |
| Host | char(255) | utf8mb4_bin | NO | PRI | <null> | | select,insert,update,references | | | ||
| User | char(32) | utf8mb4_bin | NO | PRI | <null> | | select,insert,update,references | | | ||
| authentication_string | text | utf8mb4_bin | YES | | <null> | | select,insert,update,references | | | ||
| plugin | char(64) | utf8mb4_bin | YES | | <null> | | select,insert,update,references | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<null> should be NULL
?
Co-authored-by: Aolin <[email protected]>
Co-authored-by: Aolin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
Co-authored-by: Aolin <[email protected]>
{{< copyable "sql" >}} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{< copyable "sql" >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This copy syntax is no longer needed for the current docs website. Please remove it from this doc.
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
/verify |
``` | ||
Query OK, 0 rows affected (0.02 sec) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议改成 SELECT * FROM user_attributes;
的输出
Co-authored-by: Aolin <[email protected]>
Co-authored-by: Aolin <[email protected]>
Co-authored-by: Aolin <[email protected]>
attribute 里面 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Grace Cai <[email protected]>
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 298c23c
|
/merge |
What is changed, added or deleted? (Required)
ATTRIBUTE
andCOMMENT
inCREATE USER
andALTER USER
statementsuser_attributes
tomysql.user
, and add a new viewinformation_schema.user_attributes
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
ATTRIBUTE
andCOMMENT
inCREATE USER
andALTER USER
statements tidb#38201Do your changes match any of the following descriptions?