1. 13 Sep, 2014 3 commits
  2. 12 Sep, 2014 5 commits
  3. 09 Sep, 2014 2 commits
    • Igor Babaev's avatar
      Fixed bug mdev-6292. · 5023bb89
      Igor Babaev authored
      Avoided exponential recursive calls of JOIN_CACHE::join_records() in the case
      of non-nested outer joins.
      A different solution is required to resolve this performance problem for
      nested outer joins.
      5023bb89
    • Sergei Golubchik's avatar
      MDEV-6561 libedit detection is broken · ae3cc4f1
      Sergei Golubchik authored
      fix readline/libedit detection:
      * search in readline/, editline/ and edit/readline/
      * fix typos CMAKE_REQUIRES_LIBRARIES -> CMAKE_REQUIRED_LIBRARIES
      * use correct libedit API
      * use different cmake variables for libedit and readline
      ae3cc4f1
  4. 08 Sep, 2014 2 commits
  5. 06 Sep, 2014 2 commits
  6. 03 Sep, 2014 1 commit
  7. 31 Aug, 2014 1 commit
  8. 29 Aug, 2014 2 commits
    • Sergey Vojtovich's avatar
      Backport from 10.0: · c01c8192
      Sergey Vojtovich authored
      MDEV-6483 - Deadlock around rw_lock_debug_mutex on PPC64
      
      This problem affects only debug builds on PPC64.
      
      There are at least two race conditions around
      rw_lock_debug_mutex_enter and rw_lock_debug_mutex_exit:
      
      - rw_lock_debug_waiters was loaded/stored without setting
        appropriate locks/memory barriers.
      - there is a gap between calls to os_event_reset() and
        os_event_wait() and in such case we're supposed to pass
        return value of the former to the latter.
      
      Fixed by replacing self-cooked spinlocks with system mutexes.
      These days system mutexes offer much better performance. OTOH
      performance is not that critical for debug builds.
      c01c8192
    • Sergey Vojtovich's avatar
      Backport from 10.0: · 40497577
      Sergey Vojtovich authored
      MDEV-6450 - MariaDB crash on Power8 when built with advance tool
                  chain
      
      InnoDB mutex_exit() function calls __sync_test_and_set() to release
      the lock. According to manual this function is supposed to create
      "acquire" memory barrier whereas in fact we need "release" memory
      barrier at mutex_exit().
      
      The problem isn't repeatable with gcc because it creates
      "acquire-release" memory barrier for __sync_test_and_set().
      ATC creates just "acquire" barrier.
      
      Fixed by creating proper barrier at mutex_exit() by using
      __sync_lock_release() instead of __sync_test_and_set().
      40497577
  9. 27 Aug, 2014 1 commit
  10. 25 Aug, 2014 1 commit
    • Sergei Golubchik's avatar
      MDEV-6601 Assertion `!thd->in_active_multi_stmt_transa ction() ||... · dd25e7f0
      Sergei Golubchik authored
      MDEV-6601 Assertion `!thd->in_active_multi_stmt_transa ction() || thd->in_multi_stmt_transaction_mode()' failed on executing a stored procedure with commit
      
      Don't restore the whole of thd->server_status after a routine invocation,
      only restore SERVER_STATUS_CURSOR_EXISTS and SERVER_STATUS_LAST_ROW_SENT,
      as --ps --embedded needs.
      In particular, don't restore SERVER_STATUS_IN_TRANS.
      dd25e7f0
  11. 23 Aug, 2014 1 commit
  12. 22 Aug, 2014 1 commit
  13. 20 Aug, 2014 2 commits
  14. 19 Aug, 2014 7 commits
  15. 14 Aug, 2014 1 commit
  16. 13 Aug, 2014 2 commits
  17. 12 Aug, 2014 3 commits
  18. 11 Aug, 2014 1 commit
  19. 05 Aug, 2014 1 commit
  20. 12 Aug, 2014 1 commit