1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

BUG#671361: virtual int Mrr_ordered_index_reader::refill_buffer(): Assertion `!know_key_tuple_params

- Make sure we have enough space for both rowids and keys.
This commit is contained in:
Sergey Petrunya
2010-11-09 18:02:08 +02:00
parent 594a8648ef
commit 3d698ac616
4 changed files with 86 additions and 3 deletions

View File

@@ -112,7 +112,6 @@ public:
virtual void reset() = 0;
virtual uchar *end_of_space() = 0;
protected:
virtual bool have_space_for(size_t bytes) = 0;
virtual size_t used_size() = 0;
/* To be used only by iterator class: */
@@ -120,6 +119,8 @@ protected:
virtual bool read(uchar **position)= 0;
friend class Lifo_buffer_iterator;
public:
virtual bool have_space_for(size_t bytes) = 0;
virtual void remove_unused_space(uchar **unused_start, uchar **unused_end)=0;
virtual uchar *used_area() = 0;
virtual ~Lifo_buffer() {};