Repository navigation
Fix GRANT CURRENT GRANTS ... WITH REPLACE OPTION skipping the grant option check - #130873
Conversation
|
Workflow [PR], commit [4271100] Summary: ✅
AI ReviewSummaryPR #130873, reviewed at Final VerdictStatus: ✅ Approve |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Slowest function optimization changes (ThinLTO)Median per-function time ratio to the master baseline:
Compile time of recompiled translation units7 translation units recompiled, 9 s compile time in total, 7 of them have a recent master baseline. |
Backport #130873 to 26.9: Fix `GRANT CURRENT GRANTS ... WITH REPLACE OPTION` skipping the grant option check
Backport #130873 to 26.3: Fix `GRANT CURRENT GRANTS ... WITH REPLACE OPTION` skipping the grant option check
…OPTION` skipping the grant option check (cherry picked from commit 5e9f5ef)
…OPTION` skipping the grant option check
GRANT CURRENT GRANTS ... WITH REPLACE OPTIONrevokes the grantee's existing privileges before granting, but the grant option check was skipped for that revoke.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
GRANT CURRENT GRANTS ... WITH REPLACE OPTIONnow checks that the current user has the grant option for the privileges it revokes from the grantee, the same as a regularGRANT ... WITH REPLACE OPTION.Workflow [PR]
Sync PR [sync-upstream/pr/130873]
Version info
26.11.1.2146-master(included in26.11and later)