diff options
author | unknown <gshchepa/uchum@gleb.loc> | 2007-11-27 19:28:27 +0400 |
---|---|---|
committer | unknown <gshchepa/uchum@gleb.loc> | 2007-11-27 19:28:27 +0400 |
commit | a5799544cd138711cab975a5930d70fb2df13a83 (patch) | |
tree | 1f05902e4b1f87ce15741d8dbfe2cea26667c50f /sql/opt_range.cc | |
parent | 29cdc47ecd3db062f2bf4dc88130da2a0299f6da (diff) | |
parent | d068dd1aabf29d7080a040469cf6ca58996f6fea (diff) | |
download | mariadb-git-a5799544cd138711cab975a5930d70fb2df13a83.tar.gz |
Merge gleb.loc:/work/bk/5.0-opt-32403
into gleb.loc:/work/bk/5.0-opt
sql/opt_range.cc:
Auto merged
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 1a3c2bec621..7a51dbbe76c 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -250,6 +250,9 @@ public: Field *field; char *min_value,*max_value; // Pointer to range + /* + eq_tree() requires that left == right == 0 if the type is MAYBE_KEY. + */ SEL_ARG *left,*right; /* R-B tree children */ SEL_ARG *next,*prev; /* Links for bi-directional interval list */ SEL_ARG *parent; /* R-B tree parent */ @@ -265,7 +268,7 @@ public: SEL_ARG(Field *field, uint8 part, char *min_value, char *max_value, uint8 min_flag, uint8 max_flag, uint8 maybe_flag); SEL_ARG(enum Type type_arg) - :min_flag(0),elements(1),use_count(1),left(0),next_key_part(0), + :min_flag(0),elements(1),use_count(1),left(0),right(0),next_key_part(0), color(BLACK), type(type_arg) {} inline bool is_same(SEL_ARG *arg) |