diff options
author | bell@sanja.is.com.ua <> | 2004-02-09 15:49:11 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-02-09 15:49:11 +0200 |
commit | cefdd4fec6a5deb37cf8da79601ff931d706140f (patch) | |
tree | 09193b6adbb8f621c15ec79b5ff7d203c5df62cd /sql/item_cmpfunc.h | |
parent | cc78e2d97aa2906bfd162e47c97662b9190ec014 (diff) | |
parent | 637236e176234522870722cd59b515bb1138bed5 (diff) | |
download | mariadb-git-cefdd4fec6a5deb37cf8da79601ff931d706140f.tar.gz |
merge
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 7e1749ef7a0..b6f78827ca5 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -105,6 +105,7 @@ public: Item_in_optimizer return NULL, else it evaluate Item_in_subselect. */ longlong val_int(); + void cleanup(); const char *func_name() const { return "<in_optimizer>"; } Item_cache **get_cache() { return &cache; } }; @@ -207,9 +208,11 @@ public: } void cleanup() { + DBUG_ENTER("Item_bool_rowready_func2::cleanup"); Item_bool_func2::cleanup(); tmp_arg[0]= orig_a; tmp_arg[1]= orig_b; + DBUG_VOID_RETURN; } }; @@ -718,10 +721,12 @@ class Item_func_in :public Item_int_func void fix_length_and_dec(); void cleanup() { + DBUG_ENTER("Item_func_in::cleanup"); delete array; delete in_item; array= 0; in_item= 0; + DBUG_VOID_RETURN; } optimize_type select_optimize() const { return array ? OPTIMIZE_KEY : OPTIMIZE_NONE; } |