1. 19 Nov, 2010 9 commits
    • Bjorn Munch's avatar
      null upmerge · 533e1731
      Bjorn Munch authored
      533e1731
    • Bjorn Munch's avatar
      merge from 5.5-mtr · 0b260aca
      Bjorn Munch authored
      0b260aca
    • Vladislav Vaintroub's avatar
      merge · e2fb2141
      Vladislav Vaintroub authored
      e2fb2141
    • Bjorn Munch's avatar
      merge from 5.1-mtr · b295a251
      Bjorn Munch authored
      b295a251
    • Dmitry Lenev's avatar
      Fix tree name which was accidentally changed · 41af8df7
      Dmitry Lenev authored
      during the merge.
      41af8df7
    • Dmitry Lenev's avatar
      Merged recent change from mysql-5.5-bugteam into · 8d0eabd2
      Dmitry Lenev authored
      mysql-5.5-runtime tree.
      8d0eabd2
    • Dmitry Lenev's avatar
      Suppress false-positive uninitialized variable use · 4ca561e7
      Dmitry Lenev authored
      warnings in Event_queue::get_top_for_execution_if_time()
      method which has caused -Werror build to fail.
      4ca561e7
    • Dmitry Lenev's avatar
      Fix for bug #57985 "ONLINE/FAST ALTER PARTITION can fail and · b019ba2f
      Dmitry Lenev authored
      leave the table unusable".
       
      Failing ALTER statement on partitioned table could have left
      this table in an unusable state. This has happened in cases
      when ALTER was executed using "fast" algorithm, which doesn't 
      involve copying of data between old and new versions of table, 
      and the resulting new table was incompatible with partitioning
      function in some way.
       
      The problem stems from the fact that discrepancies between new 
      table definition and partitioning function are discovered only 
      when the table is opened. In case of "fast" algorithm this has
      happened too late during ALTER's execution, at the moment when
      all changes were already done and couldn't have been reverted.
       
      In the cases when "slow" algorithm, which copies data, is used 
      such discrepancies are detected at the moment new table
      definition is opened implicitly when new version of table is
      created in storage engine. As result ALTER is aborted before 
      any changes to table were done.
       
      This fix tries to address this issue by ensuring that "fast"
      algorithm behaves similarly to "slow" algorithm and checks
      compatibility between new definition and partitioning function 
      by trying to open new definition after .FRM file for it has 
      been created.
       
      Long term we probably should implement some way to check
      compatibility between partitioning function and new table
      definition which won't involve opening it, as this should
      allow much cleaner fix for this problem.
      b019ba2f
    • Alexander Barkov's avatar
      Bug#57306 SHOW PROCESSLIST does not display string literals well. · bdfcad0f
      Alexander Barkov authored
      A post-patch fixing test failures on Windows.
      
      Host name in "SHOW PROCESSLIST" is displayed with port number
      for some reasons.
      bdfcad0f
  2. 18 Nov, 2010 15 commits
  3. 17 Nov, 2010 8 commits
  4. 16 Nov, 2010 1 commit
  5. 17 Nov, 2010 2 commits
    • Jon Olav Hauglid's avatar
      Merge from mysql-5.5-bugteam to mysql-5.5-runtime · b23c19e8
      Jon Olav Hauglid authored
      No conflicts
      b23c19e8
    • Jon Olav Hauglid's avatar
      Bug #57663 Concurrent statement using stored function and DROP DATABASE · ed928b14
      Jon Olav Hauglid authored
                 breaks SBR
      
      The problem was that DROP DATABASE ignored any metadata locks on stored
      functions and procedures held by other connections. This made it
      possible for DROP DATABASE to drop functions/procedures that were in use
      by other connections and therefore break statement based replication.
      (DROP DATABASE could appear in the binlog before a statement using a
      dropped function/procedure.)
      
      This problem was an issue left unresolved by the patch for Bug#30977
      where metadata locks for stored functions/procedures were introduced.
      
      This patch fixes the problem by making sure DROP DATABASE takes
      exclusive metadata locks on all stored functions/procedures to be
      dropped.
      
      Test case added to sp-lock.test.
      ed928b14
  6. 16 Nov, 2010 5 commits