information-schema: fix table name in USER_ATTRIBUTES doc - #23476
Conversation
The opening sentence of the USER_ATTRIBUTES page referred to itself as the USER_PRIVILEGES table, a copy-paste error -- USER_PRIVILEGES is a different table entirely (GRANTEE/TABLE_CATALOG/PRIVILEGE_TYPE/ IS_GRANTABLE columns), unrelated to user comments/attributes (USER/HOST/ATTRIBUTE columns, as shown in this same page's own DESC output and confirmed against a live TiDB v8.5.7 instance).
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe documentation corrects the table name in the ChangesUSER_ATTRIBUTES documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 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 |
What is changed, added or deleted? (Required)
The opening sentence of the
USER_ATTRIBUTESpage referred to itself as "TheUSER_PRIVILEGEStable", a copy-paste error.USER_PRIVILEGESis a different, unrelated INFORMATION_SCHEMA table (columns:GRANTEE,TABLE_CATALOG,PRIVILEGE_TYPE,IS_GRANTABLE) — not the one being documented on this page, which is about user comments/attributes (columns:USER,HOST,ATTRIBUTE, as shown in this same page's ownDESCoutput).Confirmed against a live TiDB v8.5.7 instance:
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
N/A
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
USER_ATTRIBUTES.