diff options
Diffstat (limited to 'sql/multi_range_read.h')
-rw-r--r-- | sql/multi_range_read.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/multi_range_read.h b/sql/multi_range_read.h index df6fc73ab52..fb0cd738855 100644 --- a/sql/multi_range_read.h +++ b/sql/multi_range_read.h @@ -270,9 +270,11 @@ public: return (mrr_funcs.skip_index_tuple && mrr_funcs.skip_index_tuple(mrr_iter, range_info)); } + + bool set_interruption_temp_buffer(uint rowid_length, uint key_len, + uchar **space_start, uchar *space_end); + void set_no_interruption_temp_buffer(); - bool set_temp_space(uint rowid_length, uint key_len, - uchar **space_start, uchar *space_end); void interrupt_read(); void resume_read(); void position(); @@ -299,6 +301,7 @@ private: /* TRUE == reached eof when enumerating ranges */ bool source_exhausted; + bool support_scan_interruptions; /* 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 |