Commit 35d63fc8 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3875], fix a bug where we forgot to reset size of range query buffer

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@33988 c7de825b-a66e-492c-adef-691d508d4ae1
parent 21a5cb0b
......@@ -4933,8 +4933,10 @@ int ha_tokudb::fill_range_query_buf(
);
if (range_query_buff == NULL) {
error = ENOMEM;
invalidate_bulk_fetch();
goto cleanup;
}
size_range_query_buff = bytes_used_in_range_query_buff+size_needed;
}
//
// now we know we have the size, let's fill the buffer, starting with the key
......
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