diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc index 1922fa3bc2b..c62cf6401ba 100644 --- a/sql/sql_profile.cc +++ b/sql/sql_profile.cc @@ -456,7 +456,7 @@ bool PROFILING::show_profiles() if (protocol->write()) DBUG_RETURN(TRUE); } - send_eof(thd); + my_eof(thd); DBUG_RETURN(FALSE); }