dbms: trivial modification [#METR-2944].

This commit is contained in:
Alexey Milovidov 2014-12-25 03:18:16 +03:00
parent 1221f2ba53
commit 70ee1bdaf6

View File

@ -320,7 +320,8 @@ private:
break;
}
max_mark_range = std::max(max_mark_range, (*marks)[right].offset_in_compressed_file - (*marks)[all_mark_ranges[i].begin].offset_in_compressed_file);
max_mark_range = std::max(max_mark_range,
(*marks)[right].offset_in_compressed_file - (*marks)[all_mark_ranges[i].begin].offset_in_compressed_file);
}
size_t buffer_size = DBMS_DEFAULT_BUFFER_SIZE < max_mark_range ? DBMS_DEFAULT_BUFFER_SIZE : max_mark_range;