1. 20 Mar, 2006 2 commits
    • gluh@eagle.intranet.mysql.r18.ru's avatar
      Fix for bug#18224 VIEW on information_schema crashes the server · f78ae59f
      gluh@eagle.intranet.mysql.r18.ru authored
        additional check for subselect
      f78ae59f
    • gluh@eagle.intranet.mysql.r18.ru's avatar
      Fix for bug #18113 "SELECT * FROM information_schema.xxx crashes server" · a184a00e
      gluh@eagle.intranet.mysql.r18.ru authored
      Crash happened when one selected data from one of INFORMATION_SCHEMA
      tables and in order to build its contents server had to open view which
      used stored function and table or view on which one had not global or
      database-level privileges (e.g. had only table-level or had no
      privileges at all).
      
      The crash was caused by usage of check_grant() function, which assumes
      that either number of tables to be inspected by it is limited explicitly
      or table list used and thd->lex->query_tables_own_last value correspond
      to each other (the latter should be either 0 or point to next_global
      member of one of elements of this table list), in conditions when
      above assumptions were not true. This fix just explicitly limits
      number of tables to be inspected. Other negative effects which are
      caused by the fact that thd->lex->query_tables_own_last might not
      be set properly during processing of I_S tables are less disastrous
      and will be reported and fixed separetely.
      a184a00e
  2. 18 Mar, 2006 1 commit
  3. 17 Mar, 2006 6 commits
  4. 16 Mar, 2006 6 commits
  5. 15 Mar, 2006 1 commit
  6. 14 Mar, 2006 5 commits
  7. 13 Mar, 2006 11 commits
  8. 11 Mar, 2006 2 commits
  9. 10 Mar, 2006 6 commits