• unknown's avatar
    Fix for bug #9838: INFORMATION_SCHEMA.COLUMNS columns of granted views missing · 59589b31
    unknown authored
    
    sql/sql_acl.cc:
      Fix for bug #9838: INFORMATION_SCHEMA.COLUMNS columns of granted views missing
        -increase grant_version in acl_init, mysql_table_grant
        -table privileges should be taken into account when we calculate column
         grants
    sql/sql_show.cc:
      Fix for bug #9838: INFORMATION_SCHEMA.COLUMNS columns of granted views missing
           use 'base_name', 'file_name' because 'tables->db', 'tables->tables' could be invalid in
           case of view(derived tables).
    59589b31
sql_acl.cc 159 KB