summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorvva@eagle.mysql.r18.ru <>2004-02-12 23:45:39 +0400
committervva@eagle.mysql.r18.ru <>2004-02-12 23:45:39 +0400
commit5b369431f1a458f960155d71be457474f6f05eea (patch)
tree0a47cf1aff09fd3a9edbdf22c979a4bb09aeec45 /sql/opt_range.cc
parent650580698f7f473b1ccb5a520a17fc8b269c7c9f (diff)
downloadmariadb-git-5b369431f1a458f960155d71be457474f6f05eea.tar.gz
fixed copying of color in SEL_ARG::clone (fixed bug #2968)
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc1
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;
}