From 793a137ddd737cd98d8d33efe54bcc218fd60c3f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Feb 2007 15:44:57 +0400 Subject: [PATCH] added initialization of 'cmp_type' variable(to remove compiler warning) --- sql/item_cmpfunc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index b99ea78a48f..415c91772fc 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -2568,7 +2568,7 @@ void Item_func_in::fix_length_and_dec() THD *thd= current_thd; uint found_types= 0; uint type_cnt= 0, i; - Item_result cmp_type; + Item_result cmp_type= STRING_RESULT; left_result_type= args[0]->result_type(); found_types= collect_cmp_types(args, arg_count);