Commit fae27347 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix one more problem with buffer exhaustion scenario

parent d4f057f2
...@@ -1134,7 +1134,7 @@ int DsMrr_impl::dsmrr_next(char **range_info) ...@@ -1134,7 +1134,7 @@ int DsMrr_impl::dsmrr_next(char **range_info)
if ((res= dsmrr_fill_rowid_buffer())) if ((res= dsmrr_fill_rowid_buffer()))
return res; /* for fatal errors */ return res; /* for fatal errors */
} }
if (rowid_buffer.is_empty()) while (rowid_buffer.is_empty())
{ {
if (dsmrr_eof) if (dsmrr_eof)
return HA_ERR_END_OF_FILE; return HA_ERR_END_OF_FILE;
......
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