Index: sql/handler.cc =================================================================== --- sql/handler.cc (revision 17424) +++ sql/handler.cc (revision 17425) @@ -4449,6 +4449,8 @@ bool ha_show_status(THD *thd, handlerton *db_type, if (!result) my_eof(thd); + else + my_error(ER_GET_ERRNO, MYF(0), my_errno); return result; }