[Commits] 87a9ca2681f: Reduce unnecessary diff on lock0lock.cc file.
revision-id: 87a9ca2681fda2ed9f35dd78a0c6f66fe637eea1 (mariadb-10.3.6-214-g87a9ca2681f) parent(s): 3470856ed1176730e1922470d2657a5aa9431ef8 author: Jan Lindström committer: Jan Lindström timestamp: 2018-11-29 12:41:50 +0200 message: Reduce unnecessary diff on lock0lock.cc file. --- storage/innobase/lock/lock0lock.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/innobase/lock/lock0lock.cc b/storage/innobase/lock/lock0lock.cc index 6363bd8e310..cfe6f22ef08 100644 --- a/storage/innobase/lock/lock0lock.cc +++ b/storage/innobase/lock/lock0lock.cc @@ -1425,8 +1425,8 @@ lock_rec_create_low( lock_t *hash = (lock_t *)c_lock->hash; lock_t *prev = NULL; - while (hash && wsrep_thd_is_BF(((lock_t *)hash)->trx->mysql_thd, TRUE) - && wsrep_thd_order_before(((lock_t *)hash)->trx->mysql_thd, + while (hash && wsrep_thd_is_BF(hash->trx->mysql_thd, TRUE) + && wsrep_thd_order_before(hash->trx->mysql_thd, trx->mysql_thd)) { prev = hash; hash = (lock_t *)hash->hash;
participants (1)
-
jan