From 35c1b4bcf2616dd74115c8d27120b6b333bc98e5 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Oct 2003 12:44:25 +0300 Subject: [PATCH 1/2] added fixed= 1 to the end of Item_in_optimizer::fix_fields() --- sql/item_cmpfunc.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 4e6301d2626..2680d5de017 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -421,6 +421,7 @@ bool Item_in_optimizer::fix_left(THD *thd, not_null_tables_cache= args[0]->not_null_tables(); with_sum_func= args[0]->with_sum_func; const_item_cache= args[0]->const_item(); + fixed= 1; return 0; } From a4161274ef18a38eff95272cf9f05f46fb08fcb7 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Oct 2003 13:09:38 +0300 Subject: [PATCH 2/2] small fix in comment --- sql/item_sum.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item_sum.cc b/sql/item_sum.cc index 9da1b21db72..ed2a03beccf 100644 --- a/sql/item_sum.cc +++ b/sql/item_sum.cc @@ -1822,7 +1822,7 @@ bool Item_func_group_concat::setup(THD *thd) if (select_lex->linkage == GLOBAL_OPTIONS_TYPE) DBUG_RETURN(1); /* - all not constant fields are push to list and create temp table + push all not constant fields to list and create temp table */ always_null= 0; for (uint i= 0; i < arg_count; i++)