diff options
author | Igor Babaev <igor@askmonty.org> | 2013-03-08 00:25:26 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2013-03-08 00:25:26 -0800 |
commit | 926b0f54c9b0f261460e886969dde9bbf1916852 (patch) | |
tree | 1b36c44b9c79731dd8b712451725ea88b2dcfcc8 /sql/item_cmpfunc.h | |
parent | 888db0ec09c5f54b69feda2defd2e9ae49fab75c (diff) | |
download | mariadb-git-926b0f54c9b0f261460e886969dde9bbf1916852.tar.gz |
Fixed bug mdev-4250.
This is a bug in the legacy code. It did not manifest itself because
it was masked by other bugs that were fixed by the patches for
mdev-4172 and mdev-4177.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 33f147b7b0f..1b8687cfcfc 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -1798,6 +1798,15 @@ public: { upper_levels= 0; } + void copy(COND_EQUAL &cond_equal) + { + max_members= cond_equal.max_members; + upper_levels= cond_equal.upper_levels; + if (cond_equal.current_level.is_empty()) + current_level.empty(); + else + current_level= cond_equal.current_level; + } }; |