[MDEV-24614] Source says SLAVE_MONITOR_ACL was added in 10.5.8, but it will only be in 10.5.9 Created: 2021-01-18  Updated: 2022-04-19

Status: Confirmed
Project: MariaDB Server
Component/s: Authentication and Privilege System, Replication
Affects Version/s: 10.5, 10.6
Fix Version/s: 10.5

Type: Bug Priority: Minor
Reporter: Hartmut Holzgraefe Assignee: Brandon Nesterenko
Resolution: Unresolved Votes: 0
Labels: None


 Description   

When checking out the current 10.5 server branch, the sql/privilege.h file contains:

SLAVE_MONITOR_ACL = (1ULL << 38) // Added in 10.5.8

but when checking out the mariadb-10.5.8 branch, or the released source tarball, this line is not there yet.

So this should read "Added in 10.5.9", not "in 10.5.8"



 Comments   
Comment by Elena Stepanova [ 2021-01-31 ]

It looks like it was done intentionally, by this commit:

commit c815ffb975171c14de607840a33c1dd427a1ebe5
Author: Sujatha
Date:   Mon Nov 16 23:10:53 2020 +0530
 
    MDEV-23610: Slave user can't run "SHOW SLAVE STATUS" anymore after upgrade to 10.5, mysql_upgrade should take of that
    
    Post push fix. Update version to 10.5.8.

And the patch, among other changes, does

-  SLAVE_MONITOR_ACL     = (1ULL << 38)  // Added in 10.5.9
+  SLAVE_MONITOR_ACL     = (1ULL << 38)  // Added in 10.5.8

Yet, according to git tag, this commit is not in 10.5.8.
Hopefully sujatha.sivakumar will clarify it.

Generated at Thu Feb 08 09:31:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.