diff --git a/sql/item_func.cc b/sql/item_func.cc index c926a7589ac..91defd7f0ee 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -4728,6 +4728,7 @@ Item_func_sp::func_name() const Field * Item_func_sp::sp_result_field(void) const { + Field *field; DBUG_ENTER("Item_func_sp::sp_result_field"); if (!m_sp)