Fix InnoDB style after mikael@dator8-20101217205840-i7ltx8m6z3uc42kh

This commit is contained in:
Vasil Dimov 2011-01-07 13:54:07 +02:00
commit 211c56c022

View file

@ -7837,14 +7837,14 @@ ha_innobase::info_low(
are asked by MySQL to avoid locking. Another reason to are asked by MySQL to avoid locking. Another reason to
avoid the call is that it uses quite a lot of CPU. avoid the call is that it uses quite a lot of CPU.
See Bug#38185. */ See Bug#38185. */
if (flag & HA_STATUS_NO_LOCK || if (flag & HA_STATUS_NO_LOCK
!(flag & HA_STATUS_VARIABLE_EXTRA)) { || !(flag & HA_STATUS_VARIABLE_EXTRA)) {
/* We do not update delete_length if no /* We do not update delete_length if no
locking is requested so the "old" value can locking is requested so the "old" value can
remain. delete_length is initialized to 0 in remain. delete_length is initialized to 0 in
the ha_statistics' constructor. Also we only the ha_statistics' constructor. Also we only
need delete_length to be set when need delete_length to be set when
HA_STATUS_VARIABLE_EXTRA is set */ HA_STATUS_VARIABLE_EXTRA is set */
} else if (UNIV_UNLIKELY } else if (UNIV_UNLIKELY
(srv_force_recovery >= SRV_FORCE_NO_IBUF_MERGE)) { (srv_force_recovery >= SRV_FORCE_NO_IBUF_MERGE)) {
/* Avoid accessing the tablespace if /* Avoid accessing the tablespace if