summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-09-02 12:40:18 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-09-02 12:40:18 +0400
commit4779af2921ca1a6e1c722e62a3dceab819231ce1 (patch)
tree66831cd12ed12629636b28586e6a76e6627679f3 /sql/opt_range.h
parentd841ea23ef0465e7cc0a060a1b1a6faf0f4804b8 (diff)
downloadmariadb-git-4779af2921ca1a6e1c722e62a3dceab819231ce1.tar.gz
More comments
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;