Commit 4b1399c0 authored by Sergey Petrunya's avatar Sergey Petrunya

Better comments

parent d40e250d
......@@ -305,9 +305,15 @@ class Mrr_ordered_index_reader : public Mrr_index_reader
/* TRUE == reached eof when enumerating ranges */
bool source_exhausted;
/* TODO */
/*uchar *saved_key_tuple;*/
/*
Space where we save the rowid of the last record we've returned. This is
needed for the cases where index scan is interrupted by some other activity
that destroys contents in file->record[0] (which some storage engines use
to store the last rowid value)
*/
uchar *saved_rowid;
/* TRUE <=> saved_rowid has the last saved rowid */
bool have_saved_rowid;
static int compare_keys(void* arg, uchar* key1, uchar* key2);
......@@ -363,10 +369,6 @@ class Mrr_ordered_rndpos_reader : public Mrr_reader
/* Buffer to store (rowid, range_id) pairs */
Lifo_buffer *rowid_buffer;
/* rowid_buffer.read() will set the following: */
//uchar *rowid;
//uchar *rowids_range_id;
int refill_from_index_reader();
};
......
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