1. 18 Jan, 2007 2 commits
    • kroki/tomash@moonlight.home's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-5.0-bug24404 · fbeadd43
      kroki/tomash@moonlight.home authored
      into  moonlight.home:/home/tomash/src/mysql_ab/mysql-5.1-bug24404
      fbeadd43
    • kroki/tomash@moonlight.home's avatar
      Bug#24404: strange bug with view+permission+prepared statement. · 6e771358
      kroki/tomash@moonlight.home authored
      The problem was that if a prepared statement accessed a view, the
      access to the tables listed in the query after that view was done in
      the security context of the view.
      
      The bug was in the assigning of the security context to the tables
      belonging to a view: we traversed the list of all query tables
      instead.  It didn't show up in the normal (non-prepared) statements
      because of the different order of the steps of checking privileges
      and descending into a view for normal and prepared statements.
      
      The solution is to traverse the list and stop once the last table
      belonging to the view was processed.
      6e771358
  2. 17 Jan, 2007 7 commits
  3. 16 Jan, 2007 8 commits
  4. 15 Jan, 2007 18 commits
  5. 14 Jan, 2007 1 commit
  6. 12 Jan, 2007 4 commits