summaryrefslogtreecommitdiff
path: root/storage/innobase/lock
diff options
context:
space:
mode:
authorsensssz <hjmsens@gmail.com>2016-10-23 13:41:36 -0400
committersensssz <hjmsens@gmail.com>2016-10-23 13:41:36 -0400
commit0064d85dfd601143c48436a696984cae9eca94be (patch)
tree4ab932e7a8a5a6a25eb78faf7b569ab85c3e78d2 /storage/innobase/lock
parenta24e6258ec83f76114b2f67a402e1b4d44c8aaa4 (diff)
downloadmariadb-git-0064d85dfd601143c48436a696984cae9eca94be.tar.gz
Remove duplicated comments.
Diffstat (limited to 'storage/innobase/lock')
-rw-r--r--storage/innobase/lock/lock0lock.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/storage/innobase/lock/lock0lock.cc b/storage/innobase/lock/lock0lock.cc
index 8af5cd0d4da..56d17e4fe1f 100644
--- a/storage/innobase/lock/lock0lock.cc
+++ b/storage/innobase/lock/lock0lock.cc
@@ -3103,17 +3103,13 @@ lock_rec_dequeue_from_page(
lock_hash = lock_hash_get(in_lock->type_mode);
HASH_DELETE(lock_t, hash, lock_hash,
- lock_rec_fold(space, page_no), in_lock);
+ lock_rec_fold(space, page_no), in_lock);
UT_LIST_REMOVE(trx_lock->trx_locks, in_lock);
MONITOR_INC(MONITOR_RECLOCK_REMOVED);
MONITOR_DEC(MONITOR_NUM_RECLOCK);
- /* Check if waiting locks in the queue can now be granted:
- grant locks if there are no conflicting locks ahead. Stop at
- the first X lock that is waiting or has been granted. */
-
if (innodb_lock_schedule_algorithm
== INNODB_LOCK_SCHEDULE_ALGORITHM_FCFS ||
thd_is_replication_slave_thread(in_lock->trx->mysql_thd)) {