diff options
author | gluh@mysql.com/eagle.(none) <> | 2007-02-28 15:44:57 +0400 |
---|---|---|
committer | gluh@mysql.com/eagle.(none) <> | 2007-02-28 15:44:57 +0400 |
commit | 2baf35b4fab1cd1c185b7b98645eb76ed88d9f73 (patch) | |
tree | 3f513f012a866e758d0c0025c6d89705aa897d7d | |
parent | be248ad0e051428ddc7e3fdad772034d9d5fcf89 (diff) | |
download | mariadb-git-2baf35b4fab1cd1c185b7b98645eb76ed88d9f73.tar.gz |
added initialization of 'cmp_type' variable(to remove compiler warning)
-rw-r--r-- | sql/item_cmpfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |