• Martin Hansson's avatar
    Bug#36086: SELECT * from views don't check column grants · a43242ea
    Martin Hansson authored
    This patch also fixes bugs 36963 and 35600.
                          
    - In many places a view was confused with an anonymous derived
      table, i.e. access checking was skipped. Fixed by introducing a
      predicate to tell the difference between named and anonymous
      derived tables.
                          
    - When inserting fields for "SELECT * ", there was no 
      distinction between base tables and views, where one should be
      made. View privileges are checked elsewhere.
    a43242ea
sql_derived.cc 9.82 KB