summaryrefslogtreecommitdiff
path: root/sql/multi_range_read.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2014-10-29 13:22:48 +0300
committerSergey Petrunya <psergey@askmonty.org>2014-10-29 13:22:48 +0300
commit30b28babdc8d6db805741e519f3b33096aa8083d (patch)
treea1b2b062db670e4ac64ea955ff06ae86c69f2158 /sql/multi_range_read.h
parentb2d71434ed24d0901155fe68b0b7ee4fdad0e2d4 (diff)
parenta8341dfd6e001faa0b3b0227650eea6721316f04 (diff)
downloadmariadb-git-30b28babdc8d6db805741e519f3b33096aa8083d.tar.gz
Merge 5.3->5.5
Diffstat (limited to 'sql/multi_range_read.h')
-rw-r--r--sql/multi_range_read.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/multi_range_read.h b/sql/multi_range_read.h
index 10715817308..0819b6fe948 100644
--- a/sql/multi_range_read.h
+++ b/sql/multi_range_read.h
@@ -340,6 +340,12 @@ private:
uchar *saved_key_tuple; /* Saved current key tuple */
uchar *saved_primary_key; /* Saved current primary key tuple */
+ /*
+ TRUE<=> saved_key_tuple (and saved_primary_key when applicable) have
+ valid values.
+ */
+ bool read_was_interrupted;
+
static int compare_keys(void* arg, uchar* key1, uchar* key2);
static int compare_keys_reverse(void* arg, uchar* key1, uchar* key2);