diff options
author | unknown <bell@sanja.is.com.ua> | 2004-06-03 15:38:38 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-06-03 15:38:38 +0300 |
commit | 21a4f53e0e4bd6484ac0862013b17669e77dc9eb (patch) | |
tree | 3565b6d5891887b7936923b4694503f88e158322 /sql/item_cmpfunc.h | |
parent | dc25060a5ff117a1c859d4412f2172d762b24109 (diff) | |
download | mariadb-git-21a4f53e0e4bd6484ac0862013b17669e77dc9eb.tar.gz |
removed incorrect destructor (to prevent deleting item by recursion instead of by list scanning in case of chained OR or AND)
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index c33042e11ab..a1ed19c1078 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -534,7 +534,6 @@ public: Item_cond() : Item_bool_func() { const_item_cache=0; } Item_cond(Item *i1,Item *i2) :Item_bool_func() { list.push_back(i1); list.push_back(i2); } - ~Item_cond() { list.delete_elements(); } bool add(Item *item) { return list.push_back(item); } bool fix_fields(THD *,struct st_table_list *); |