summaryrefslogtreecommitdiff
path: root/sql/sql_show.h
diff options
context:
space:
mode:
authorInaam Rana <inaam.rana@oracle.com>2012-03-12 13:04:54 -0400
committerInaam Rana <inaam.rana@oracle.com>2012-03-12 13:04:54 -0400
commit273c626269cfcc7f20f1d0212d3aa3bff0c14f02 (patch)
treee399bea2bd430c207d465745e14ba75ba5e7c236 /sql/sql_show.h
parentaaead0efb4adcb54509605f40a41c61539e74c7b (diff)
downloadmariadb-git-273c626269cfcc7f20f1d0212d3aa3bff0c14f02.tar.gz
Bug#13789853 SHOW ENGINE INNODB STATUS HANGS DUE TO EXCESSIVE WORK
IN LOCK_VALIDATE() rb://917 approved by: Marko Makela In lock_validate() the limit is used to release the kernel_mutex during the validation, to obey the latching order. If we do the limit++ then we are rechecking the same lock most times on each iteration because limit is being incremented by one and <space, page_no> will nearly always be > limit. If we set the limit correctly to (space, page+1) then we are actually making progress during the iteration.
Diffstat (limited to 'sql/sql_show.h')
0 files changed, 0 insertions, 0 deletions