diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-10 12:46:56 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-10 12:46:56 +0100 |
commit | 8dad7dfa6ae40e54e814d3ba135f45bff0c13e8f (patch) | |
tree | 0432ab82e496017306a155eeb530ff5f2e184c4e /sql/item_cmpfunc.h | |
parent | 9d8ee74b38c5db13dc4466e76b7ad2eb8ce36a5a (diff) | |
parent | 926b0f54c9b0f261460e886969dde9bbf1916852 (diff) | |
download | mariadb-git-8dad7dfa6ae40e54e814d3ba135f45bff0c13e8f.tar.gz |
5.3->5.5 merge
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 cad8d7d34ac..1f490d3b5fc 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -1791,6 +1791,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; + } }; |