summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2009-10-14 15:58:53 +0300
committerMichael Widenius <monty@askmonty.org>2009-10-14 15:58:53 +0300
commitdaccf1748344e011267ad3f0f093c49c6530d050 (patch)
treece464eb370e989b1ba3c6edc2dfc96444791fc13 /sql/opt_range.h
parent115f4b275a640fc46dd295cc8654e995a91a3885 (diff)
parent75a949fb414f8b3ed851a466d84788085c9dbe42 (diff)
downloadmariadb-git-daccf1748344e011267ad3f0f093c49c6530d050.tar.gz
Merge with 5.1
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index 225af276e55..6a0234e62fe 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -38,6 +38,12 @@ typedef struct st_key_part {
} KEY_PART;
+/*
+ A "MIN_TUPLE < tbl.key_tuple < MAX_TUPLE" interval.
+
+ One of endpoints may be absent. 'flags' member has flags which tell whether
+ the endpoints are '<' or '<='.
+*/
class QUICK_RANGE :public Sql_alloc {
public:
uchar *min_key,*max_key;