1. 29 Oct, 2008 2 commits
  2. 24 Oct, 2008 1 commit
  3. 23 Oct, 2008 2 commits
  4. 21 Oct, 2008 1 commit
  5. 18 Oct, 2008 1 commit
    • Sven Sandberg's avatar
      BUG#39851: race between check_testcase and tests running 'show processlist' · d88716c2
      Sven Sandberg authored
      Problem 1: not_embedded_server runs SELECT FROM I_S.PROCESSLIST near the beginning.
      check_testcase executes a query to the server before that. There is a race here,
      because there is no guarantee that the thread executing check_testcase's query is
      finished.
      Problem 2: The SELECT FROM I_S.PROCESSLIST doens't seem very useful in the test.
      It's at least misplaced.
      Fix to both problems: Comment out SELECT FROM I_S.PROCESSLIST.
      d88716c2
  6. 13 Oct, 2008 2 commits
  7. 11 Oct, 2008 3 commits
  8. 10 Oct, 2008 3 commits
  9. 09 Oct, 2008 4 commits
  10. 08 Oct, 2008 19 commits
  11. 07 Oct, 2008 2 commits
    • Gleb Shchepa's avatar
      e05be97a
    • Gleb Shchepa's avatar
      Bug #38691: segfault/abort in ``UPDATE ...JOIN'' while · e219979e
      Gleb Shchepa authored
                ``FLUSH TABLES WITH READ LOCK''
      
      Concurrent execution of 1) multitable update with a
      NATURAL/USING join and 2) a such query as "FLUSH TABLES
      WITH READ LOCK" or "ALTER TABLE" of updating table led
      to a server crash.
      
      
      The mysql_multi_update_prepare() function call is optimized
      to lock updating tables only, so it postpones locking to
      the last, and if locking fails, it does cleanup of modified
      syntax structures and repeats a query analysis.  However,
      that cleanup procedure was incomplete for NATURAL/USING join
      syntax data: 1) some Field_item items pointed into freed
      table structures, and 2) the TABLE_LIST::join_columns fields
      was not reset.
      
      Major change:
        short-living Field *Natural_join_column::table_field has
        been replaced with long-living Item*.
      e219979e