mariadb/storage
Sergey Vojtovich c01c819209 Backport from 10.0:
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.
2014-08-29 16:14:11 +04:00
..
archive mysql-5.5.38 merge 2014-06-03 09:55:08 +02:00
blackhole
csv
example Make THDVAR_INT variables to be signed in SELECT in SHOW 2014-04-09 14:28:07 +02:00
federated 5.1 merge 2014-03-16 13:59:44 +01:00
federatedx typo in FederatedX. HA_READ_AFTER_KEY is not a valid index flag. 2014-04-14 09:54:42 +02:00
heap mysql-5.5.39 merge 2014-08-02 21:26:16 +02:00
innobase Backport from 10.0: 2014-08-29 16:14:11 +04:00
maria Fixed memory overflow 2014-07-31 13:13:33 +03:00
myisam mysql-5.5.39 merge 2014-08-02 21:26:16 +02:00
myisammrg rename handler::ha_set_lock_type() -> handler::set_lock_type(), 2014-04-28 11:11:16 +02:00
ndb mysql-5.5.37 selective merge 2014-03-27 22:26:58 +01:00
oqgraph
perfschema mysql-5.5.37 selective merge 2014-03-27 22:26:58 +01:00
sphinx
tokudb disable still racy tokudb tests 2014-08-12 17:12:08 +02:00
xtradb Backport from 10.0: 2014-08-29 16:14:11 +04:00