diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2004-02-12 23:45:39 +0400 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2004-02-12 23:45:39 +0400 |
commit | 9c8ca1fa64398ed8679b3aba3a51490ac16fa9c9 (patch) | |
tree | 0a47cf1aff09fd3a9edbdf22c979a4bb09aeec45 /sql/opt_range.cc | |
parent | 15b89bfc5981ad348220fbf3f7067b7465d71080 (diff) | |
download | mariadb-git-9c8ca1fa64398ed8679b3aba3a51490ac16fa9c9.tar.gz |
fixed copying of color in SEL_ARG::clone (fixed bug #2968)
mysql-test/r/select_found.result:
added new tests for bugs with range optimization (bugs #2448 and #2698)
mysql-test/t/select_found.test:
added new tests for bugs with range optimization (bugs #2448 and #2698)
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 188d503b767..0ed5c447486 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -488,6 +488,7 @@ SEL_ARG *SEL_ARG::clone(SEL_ARG *new_parent,SEL_ARG **next_arg) return 0; // OOM } increment_use_count(1); + tmp->color= color; return tmp; } |