Skip to content

sql: document unsupported GRANT PROXY in MySQL compatibility - #21924

Open
doc-claw-bot wants to merge 1 commit into
pingcap:release-8.5from
doc-claw-bot:docs/grant-proxy-mysql-compat
Open

sql: document unsupported GRANT PROXY in MySQL compatibility#21924
doc-claw-bot wants to merge 1 commit into
pingcap:release-8.5from
doc-claw-bot:docs/grant-proxy-mysql-compat

Conversation

@doc-claw-bot

@doc-claw-bot doc-claw-bot commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

What is changed, added or deleted? (Required)

  • Add the corresponding Chinese MySQL compatibility note to sql-statements/sql-statement-grant-privileges.md to clarify that TiDB does not support GRANT PROXY.
  • This update is scoped to release-8.5 because it documents the currently published behavior verified in TiDB Cloud Starter.

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).

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • 文档
    • GRANT <privileges> 的“MySQL 兼容性”部分补充说明:TiDB 不支持 GRANT PROXY 语句。

@ti-chi-bot ti-chi-bot Bot added contribution This PR is from a community contributor. missing-translation-status This PR does not have translation status info. labels Sep 4, 2026
@ti-chi-bot

ti-chi-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kissmydb for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@doc-claw-bot doc-claw-bot added type/compatibility-or-feature-change This PR involves compatibility changes or feature behavior changes. area/security Relates to TiDB security and privilege. needs-cherry-pick-master Should cherry pick this PR to master branch. translation/from-docs This PR is translated from a PR in pingcap/docs. and removed missing-translation-status This PR does not have translation status info. labels Sep 4, 2026
@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 4, 2026
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: a541fd74-0623-4022-9ba2-844a1d3e8c4e

📥 Commits

Reviewing files that changed from the base of the PR and between 0b6ace9 and 88fad62.

📒 Files selected for processing (1)
  • sql-statements/sql-statement-grant-privileges.md

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

更新 GRANT <privileges> 文档的 MySQL 兼容性说明,明确 TiDB 不支持 GRANT PROXY 语句。

Changes

GRANT 权限语句文档

Layer / File(s) Summary
补充 GRANT PROXY 兼容性说明
sql-statements/sql-statement-grant-privileges.md
在“MySQL 兼容性”列表中新增说明:TiDB 不支持 GRANT PROXY

Estimated code review effort: 1(简单) | ~2 分钟

Merge Risk: ⚪ Minimal · up to 88fad

This updates the Chinese GRANT compatibility note to state that TiDB does not support GRANT PROXY. No current merge-readiness risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed 标题准确概括了主要变更:在 MySQL 兼容性文档中说明 TiDB 不支持 GRANT PROXY。标题简洁且具体。
Description check ✅ Passed 描述包含变更内容、适用版本、相关 PR 和文件链接、AI 参与情况及变更类型检查项。描述说明了变更原因,并明确将范围限定为 v8.5。整体符合模板要求。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/security Relates to TiDB security and privilege. contribution This PR is from a community contributor. needs-cherry-pick-master Should cherry pick this PR to master branch. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/from-docs This PR is translated from a PR in pingcap/docs. type/compatibility-or-feature-change This PR involves compatibility changes or feature behavior changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant