• unknown's avatar
    Fix for bug #9838: INFORMATION_SCHEMA.COLUMNS columns of granted views missing · bd58e3e5
    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).
    bd58e3e5
information_schema.test 14.5 KB