• Alexey Botchkov's avatar
    MDEV-9898 SET ROLE NONE can crash mysqld. · 94cd0f6c
    Alexey Botchkov authored
            The check_user_can_set_role() used find_user_exact() to get the
            permissions for the SET ROLE NONE command. Which returned NULL too often,
            for instance when user authenticated as 'user'@'%'.
            Now we use find_user_wild() instead.
    94cd0f6c
set_role-simple.test 1.17 KB