Commit 889e6170 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix [harmless] valgrind failure

parent 937db4bf
......@@ -643,7 +643,7 @@ int DsMrr_impl::dsmrr_fill_rowid_buffer()
rowid_buffer.reset_for_writing();
identical_rowid_ptr= NULL;
if (key_buffer.is_reverse())
if (do_sort_keys && key_buffer.is_reverse())
key_buffer.flip();
while (rowid_buffer.have_space_for(rowid_buff_elem_size))
......
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