diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test index 155543fa62e..1c41498c4c7 100644 --- a/mysql-test/t/sp.test +++ b/mysql-test/t/sp.test @@ -7043,7 +7043,6 @@ select bug20777(0) as 'lower bounds unsigned bigint'; select bug20777(18446744073709551615) as 'upper bounds unsigned bigint'; select bug20777(18446744073709551616) as 'upper bounds unsigned bigint + 1'; select bug20777(-1) as 'lower bounds unsigned bigint - 1'; -select bug20777(1.84e+19) as 'submitter value, 1.84e19'; create table examplebug20777 as select 0 as 'i', diff --git a/sql/item_func.cc b/sql/item_func.cc index 89a8ecf09b6..cf3a4d3d758 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -4988,6 +4988,8 @@ longlong Item_func_row_count::val_int() } + + Item_func_sp::Item_func_sp(Name_resolution_context *context_arg, sp_name *name) :Item_func(), context(context_arg), m_name(name), m_sp(NULL), sp_result_field(NULL) {