summaryrefslogtreecommitdiff
path: root/sql/item_subselect.cc
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-10-08 19:13:09 +0400
committerunknown <konstantin@mysql.com>2004-10-08 19:13:09 +0400
commit166d19e9638595cd56cdfb1d65dbebdd64e6013d (patch)
tree340f7d7161a03919e35c9d1d393b1ee8b23a5fbf /sql/item_subselect.cc
parentc428135ec8550b62a58ac061733c6c31c277a651 (diff)
downloadmariadb-git-166d19e9638595cd56cdfb1d65dbebdd64e6013d.tar.gz
Deployment of centralized Item change registry, step 2: Item_ref
doesn't need to have it's own recovery mechanism. sql/item.cc: Deployment of centralized Item change registry, step 2: Item_ref doesn't need to have it's own recovery mechanism, so it was simplified. sql/item.h: Deployment of centralized Item change registry, step 2: Item_ref doesn't need to have it's own recovery mechanism, so it was simplified. sql/item_cmpfunc.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change sql/item_cmpfunc.h: - Item::split_sum_func now requires THD sql/item_func.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change sql/item_func.h: - Item::split_sum_func now requires THD sql/item_row.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change sql/item_row.h: - Item::split_sum_func now requires THD sql/item_strfunc.cc: - Item::split_sum_func now requires THD - use THD::register_item_tree_change to register changes in the item tree sql/item_strfunc.h: - Item::split_sum_func now requires THD sql/item_subselect.cc: - use updated Item_ref constructor sql/sql_base.cc: - Item::split_sum_func now requires THD sql/sql_select.cc: - Item::split_sum_func now requires THD sql/sql_yacc.yy: - use updated Item_ref constructor
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r--sql/item_subselect.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc
index bb2bb6319a9..c877b87def6 100644
--- a/sql/item_subselect.cc
+++ b/sql/item_subselect.cc
@@ -770,7 +770,6 @@ Item_in_subselect::single_value_transformer(JOIN *join,
we can use same item for all selects.
*/
expr= new Item_ref((Item**)optimizer->get_cache(),
- NULL,
(char *)"<no matter>",
(char *)in_left_expr_name);
@@ -966,9 +965,7 @@ Item_in_subselect::row_value_transformer(JOIN *join)
(char *) "<no matter>",
(char *) "<list ref>");
func=
- eq_creator.create(new Item_ref((*optimizer->get_cache())->
- addr(i),
- NULL,
+ eq_creator.create(new Item_ref((*optimizer->get_cache())->addr(i),
(char *)"<no matter>",
(char *)in_left_expr_name),
func);