Merge lp:~laurynas-biveinis/percona-server/bug1418996-5.5 into lp:percona-server/5.5

Proposed by Laurynas Biveinis
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: 723
Merged at revision: 731
Proposed branch: lp:~laurynas-biveinis/percona-server/bug1418996-5.5
Merge into: lp:percona-server/5.5
Diff against target: 12 lines (+1/-1)
1 file modified
storage/innobase/lock/lock0lock.c (+1/-1)
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug1418996-5.5
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email:

Description of the change

Fix bug 1418996 (InnoDB lock monitor output is printed even if not

Currently lock_print_info_all_transactions prints lock info if either
innodb lock monitor is on, either innodb_show_locks_held is greater
than zero (the default value is ten). It should be printed when both
conditions hold instead.

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'storage/innobase/lock/lock0lock.c'
--- storage/innobase/lock/lock0lock.c 2014-02-14 07:44:36 +0000
+++ storage/innobase/lock/lock0lock.c 2015-02-09 10:52:56 +0000
@@ -4720,7 +4720,7 @@
4720 }4720 }
4721 }4721 }
4723 if (!srv_print_innodb_lock_monitor && !srv_show_locks_held) {4723 if (!srv_print_innodb_lock_monitor || !srv_show_locks_held) {
4724 nth_trx++;4724 nth_trx++;
4725 goto loop;4725 goto loop;
4726 }4726 }


People subscribed via source and target branches