diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-12-04 16:18:04 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-12-15 17:56:17 +0200 |
commit | 38fd7b7d9170369b16ff553f01669182e70bc9b5 (patch) | |
tree | 97c806efbc1f53071a0d239ed43820b9c24cf5ae /storage/innobase/include/row0vers.h | |
parent | 59b2848af6d71a4ffa849589adadfb69ed117b23 (diff) | |
download | mariadb-git-38fd7b7d9170369b16ff553f01669182e70bc9b5.tar.gz |
MDEV-21452: Replace all direct use of os_event_t
Let us replace os_event_t with mysql_cond_t, and replace the
necessary ib_mutex_t with mysql_mutex_t so that they can be
used with condition variables.
Also, let us replace polling (os_thread_sleep() or timed waits)
with plain mysql_cond_wait() wherever possible.
Furthermore, we will use the lightweight srw_mutex for trx_t::mutex,
to hopefully reduce contention on lock_sys.mutex.
FIXME: Add test coverage of
mariabackup --backup --kill-long-queries-timeout
Diffstat (limited to 'storage/innobase/include/row0vers.h')
-rw-r--r-- | storage/innobase/include/row0vers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/row0vers.h b/storage/innobase/include/row0vers.h index d54384f837c..e05b18a8ccc 100644 --- a/storage/innobase/include/row0vers.h +++ b/storage/innobase/include/row0vers.h @@ -45,7 +45,7 @@ index record. @param[in] index secondary index @param[in] offsets rec_get_offsets(rec, index) @return the active transaction; state must be rechecked after -trx_mutex_enter(), and trx->release_reference() must be invoked +acquiring trx->mutex, and trx->release_reference() must be invoked @retval NULL if the record was committed */ trx_t* row_vers_impl_x_locked( |