aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/mariadb/MDEV-12366.patch
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pkgs/mariadb/MDEV-12366.patch')
-rw-r--r--modules/pkgs/mariadb/MDEV-12366.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/pkgs/mariadb/MDEV-12366.patch b/modules/pkgs/mariadb/MDEV-12366.patch
deleted file mode 100644
index 524ca58..0000000
--- a/modules/pkgs/mariadb/MDEV-12366.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Fix FLUSH PRIVILEGES can miss some roles
-Bug: https://jira.mariadb.org/browse/MDEV-12366
-diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
-index cb4c3cb1049..bf6a7b847f5 100644
---- a/sql/sql_acl.cc
-+++ b/sql/sql_acl.cc
-@@ -6754,9 +6754,7 @@ static my_bool role_propagate_grants_action(void *ptr,
- if (role->counter)
- return 0;
-
-- mysql_mutex_assert_owner(&acl_cache->lock);
-- PRIVS_TO_MERGE data= { PRIVS_TO_MERGE::ALL, 0, 0 };
-- traverse_role_graph_up(role, &data, NULL, merge_role_privileges);
-+ propagate_role_grants(role, PRIVS_TO_MERGE::ALL, NULL, NULL);
- return 0;
- }
-