mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Fix InnoDB style after mikael@dator8-20101217205840-i7ltx8m6z3uc42kh
This commit is contained in:
parent
a44cf8a6dd
commit
211c56c022
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue