1. 07 May, 2014 4 commits
  2. 06 May, 2014 6 commits
  3. 05 May, 2014 5 commits
  4. 04 May, 2014 1 commit
  5. 01 May, 2014 7 commits
  6. 23 Apr, 2014 1 commit
    • Sergey Vojtovich's avatar
      MDEV-5792 - Deadlock between SELECTs from METADATA_LOCK_INFO and another · b1232490
      Sergey Vojtovich authored
                  I_S table
      
      mdl_iterate() helper function (which is used by the plugin to iterate mdl
      locks) acquired mutexes in reverse order.
      
      Fixed by iterating MDL locks in two stages:
      1. Iterate locks hash under the protection of hash mutex, store all
         lock pointers in a thread local array and increment reference counter
         for the lock.
      2. Iterate local array without protection of hash mutex, handle destroyed
         locks.
      
      It somewhat echoes hack in MDL_map_partition::move_from_hash_to_lock_mutex.
      b1232490
  7. 05 May, 2014 1 commit
  8. 02 May, 2014 1 commit
  9. 29 Apr, 2014 1 commit
  10. 25 Apr, 2014 2 commits
  11. 28 Apr, 2014 1 commit
    • Sergey Petrunya's avatar
      Revert these two changes (wrong push) : · 182f7d76
      Sergey Petrunya authored
      MDEV-5980: EITS: if condition is used for REF access, its selectivity is still in filtered%
      MDEV-5985: EITS: selectivity estimates look illogical for join and non-key equalities
      MDEV-6003: EITS: ref access, keypart2=const vs keypart2=expr - inconsistent filtered% value
      - Made a number of fixes in table_cond_selectivity() so that it returns
        correct selectivity estimates.
      - Added comments in related code.
      Better comments
      182f7d76
  12. 25 Apr, 2014 1 commit
  13. 21 Apr, 2014 1 commit
  14. 27 Apr, 2014 1 commit
  15. 25 Apr, 2014 2 commits
    • Alexander Barkov's avatar
    • unknown's avatar
      MDEV-6156: Parallel replication incorrectly caches charset between worker threads · 64923bb6
      unknown authored
      The previous patch for this bug was unfortunately completely wrong.
      
      The purpose of cached_charset is to remember which character set we
      have installed currently in the THD, so that in the common case where
      charset does not change between queries, we do not need to update it
      in the THD. Thus, it is important that the cached_charset field is
      tightly coupled to the THD for which it handles caching.
      
      Thus the right place to put cached_charset seems to be in the THD.
      This patch introduces a field THD:system_thread_info where such info
      in general can be placed without further inflating the THD with unused
      data for other threads (THD is already far too big as it is). It then
      moves the cached_charset into this slot for the SQL driver thread and
      for the parallel replication worker threads.
      
      The THD::rpl_filter field is also moved inside system_thread_info, to
      keep the size of THD unchanged. Moving further fields in to reduce the
      size of THD is a separate task, filed as MDEV-6164.
      64923bb6
  16. 24 Apr, 2014 3 commits
  17. 23 Apr, 2014 2 commits