Commit a576cd5c authored by Marko Mäkelä's avatar Marko Mäkelä

Bug #57579 blobs cause a thread to wait for itself endlessly

btr_estimate_n_rows_in_range_on_level(): Always do mtr_commit(),
so that the page will not remain pinned indefinitely.
parent 718f09e0
...@@ -3277,6 +3277,7 @@ btr_estimate_n_rows_in_range_on_level( ...@@ -3277,6 +3277,7 @@ btr_estimate_n_rows_in_range_on_level(
|| btr_page_get_level_low(page) != level) { || btr_page_get_level_low(page) != level) {
/* The page got reused for something else */ /* The page got reused for something else */
mtr_commit(&mtr);
goto inexact; goto inexact;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment