• gshchepa/uchum@host.loc's avatar
    Fixed bug#31194: Privilege ordering does not order properly · 18770a0d
    gshchepa/uchum@host.loc authored
                     for wildcard values.
    The server ignored escape character before wildcards during
    the calculation of priority values for sorting of a privilege
    list. (Actually the server counted an escape character as an
    ordinary wildcard like % or _). I.e. the table name template
    with a wildcard character like 'tbl_1' had higher priority in
    a privilege list than concrete table name without wildcards
    like 'tbl\_1', and some privileges of 'tbl\_1' was hidden
    by privileges for 'tbl_1'.
    
    The get_sort function has been modified to ignore escaped
    wildcards as usual.
    18770a0d
grant3.result 5.91 KB