Commit c26eae0
committed
MDEV-23456 fixup: Fix mtr_t::get_fix_count()
Before commit 05fa455 (MDEV-22110) we have slot->type == MTR_MEMO_MODIFY that are unrelated to incrementing the buffer-fix count. FindBlock::operator(): In debug builds, skip MTR_MEMO_MODIFY entries. Also, simplify the code a little. This fixes an infinite loop in the tests innodb.innodb_defragment and innodb.innodb_wl6326_big.1 parent b1009ae commit c26eae0
1 file changed
+8
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
317 | 319 | | |
318 | | - | |
319 | 320 | | |
320 | 321 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
328 | 325 | | |
329 | 326 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 327 | | |
336 | 328 | | |
337 | 329 | | |
| |||
832 | 824 | | |
833 | 825 | | |
834 | 826 | | |
835 | | - | |
836 | | - | |
| 827 | + | |
837 | 828 | | |
838 | | - | |
| 829 | + | |
839 | 830 | | |
840 | 831 | | |
841 | 832 | | |
| |||
0 commit comments