Commit graph

2 commits

Author SHA1 Message Date
Vicențiu Ciorbaru
1c858dd9e0 Make win_big test specify only if Sort_merge_passes have happened
The number is irrelevant and may differ by architecture. We are only
interested if it happened or not
2016-09-24 15:12:34 +02:00
Sergei Petrunia
047963922c MDEV-9736: Window functions: multiple cursors to read filesort result
Add support for having multiple IO_CACHEs with type=READ_CACHE to share
the file they are reading from.
Each IO_CACHE keeps its own in-memory buffer. When doing a read or seek
operation on the file, it notifies other IO_CACHEs that the file position
has been changed.

Make Rowid_seq_cursor use cloned IO_CACHE when reading filesort result.
2016-09-24 15:12:34 +02:00