diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-12-15 10:45:08 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-12-15 10:45:08 +0300 |
commit | 802db7a64b09bf3e27350a88a4461fd04b2c17b8 (patch) | |
tree | 82ade4c5998840956afead645dfd42a39bd3d0e2 /sql/multi_range_read.h | |
parent | eafc4bef33386b566654053f49762825618416fa (diff) | |
download | mariadb-git-802db7a64b09bf3e27350a88a4461fd04b2c17b8.tar.gz |
- Fix compiler warning
- Better warnings
Diffstat (limited to 'sql/multi_range_read.h')
-rw-r--r-- | sql/multi_range_read.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/multi_range_read.h b/sql/multi_range_read.h index a22ef0fef61..07e6295a021 100644 --- a/sql/multi_range_read.h +++ b/sql/multi_range_read.h @@ -346,7 +346,14 @@ private: /* TRUE <=> index_reader->refill_buffer() call has returned EOF */ bool index_reader_exhausted; + /* + TRUE <=> We should call index_reader->refill_buffer(). This happens if + 1. we've made index_reader->get_next() call which returned EOF + 2. we haven't made any index_reader calls (and our first call should + be index_reader->refill_buffer(initial=TRUE) + */ bool index_reader_needs_refill; + /* TRUE <=> need range association, buffers hold {rowid, range_id} pairs */ bool is_mrr_assoc; |