-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
bootstrap: add mysql.user columns for parser#1121 #21856
Conversation
/run-all-tests -parser=pr/1121 |
PTAL @wjhuang2016 @leoppro |
ping @wjhuang2016 @leoppro |
session/bootstrap.go
Outdated
@@ -64,6 +64,8 @@ const ( | |||
Create_tmp_table_priv ENUM('N','Y') NOT NULL DEFAULT 'N', | |||
Lock_tables_priv ENUM('N','Y') NOT NULL DEFAULT 'N', | |||
Execute_priv ENUM('N','Y') NOT NULL DEFAULT 'N', | |||
Repl_slave_priv ENUM('N','Y') NOT NULL DEFAULT 'N', | |||
Repl_client_priv ENUM('N','Y') NOT NULL DEFAULT 'N', |
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.
The column should be added to the end of the columns.
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.
done in b6e1a91
/run-all-tests |
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
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
/merge |
/run-all-tests |
|
@lance6716 merge failed. |
/merge |
/run-all-tests |
@lance6716 merge failed. |
/merge |
/run-all-tests |
/label needs-cherry-pick-5.0-rc |
/run-cherry-picker |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.0-rc in PR #22112 |
Co-authored-by: lance6716 <[email protected]>
What problem does this PR solve?
Problem Summary: pingcap/parser#1121 added
Repl_client_priv
andRepl_slave_priv
to support parsingREPLICATION CLIENT
,REPLICATION SLAVE
. In order make TiDB compatible with parser, I added those two columns tomysql.user
needed for pingcap/dm#1320
What is changed and how it works?
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note