sql: remove unnecessary 'copy' from FLUSH PRIVILEGES description - #23196
Conversation
There was a problem hiding this comment.
Code Review
This pull request simplifies the description of the FLUSH PRIVILEGES statement by changing "in-memory copy of privileges" to "in-memory privileges". The reviewer suggested further simplifying the text by removing "in-memory" entirely to avoid unnecessary words, which aligns with the style guide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
1ddda69 to
cfe6984
Compare
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe ChangesFLUSH PRIVILEGES documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b611f65 to
4f311df
Compare
4f311df to
b1153d6
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: ee9165c2-e9df-4af7-82ee-c17c1c670032
📒 Files selected for processing (1)
sql-statements/sql-statement-flush-privileges.md
Apply CodeRabbit's review suggestion on PR pingcap#23196: describe what FLUSH PRIVILEGES actually does (reload the grant tables into memory), matching MySQL's own documentation wording, instead of the narrower 'reload the privileges from the grant tables'. Also updates sql-statement-overview.md's summary table entry, which still had the original 'in-memory copy of privileges from the privilege tables' wording and was missed when this PR first touched the main page.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
16c7853 to
5abe346
Compare
[LGTM Timeline notifier]Timeline:
|
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
|
@qiancai: Your lgtm message is repeated, so it is ignored. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiancai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
In response to a cherrypick label: new pull request created to branch |
What is changed, added or deleted? (Required)
Align the
FLUSH PRIVILEGESdescription with MySQL documentation. Changed:reload the in-memory copy of privileges from the privilege tablesreload the grant tables into memoryMySQL's own documentation at https://dev.mysql.com/doc/refman/8.4/en/privilege-changes.html uses
reload the grant tableswithoutcopy. TiDB documentation should follow the same concise style.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?
Summary by CodeRabbit
FLUSH PRIVILEGESreloads grant tables into memory.