1. 03 Apr, 2007 2 commits
    • jamppa@bk-internal.mysql.com's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.0 · cbfd66e7
      jamppa@bk-internal.mysql.com authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.0-marvel
      cbfd66e7
    • anozdrin/alik@ibm.opbmk's avatar
      Fix for BUG#27337: Privileges are not properly restored. · 5441aefd
      anozdrin/alik@ibm.opbmk authored
      The problem was that THD::db_access variable was not restored after
      database switch in stored-routine-execution code.
      
      The fix is to restore THD::db_access in this case.
      
      Unfortunately, this fix requires additional changes,
      because in prepare_schema_table(), called on the parsing stage, we checked
      privileges. That was wrong according to our design, but this flaw haven't
      struck so far, because it was masked. All privilege checkings must be
      done on the execution stage in order to be compatible with prepared statements
      and stored routines. So, this patch also contains patch for
      prepare_schema_table(), which moves the checkings to the execution phase.
      5441aefd
  2. 02 Apr, 2007 1 commit
  3. 31 Mar, 2007 6 commits
  4. 30 Mar, 2007 7 commits
  5. 29 Mar, 2007 18 commits
  6. 28 Mar, 2007 6 commits