MDEV-35704 Error message mispelled when altering table engine to MEMORY

reset progress report output before printing the error message.
need to flush(stdout), because error message goes to stderr
This commit is contained in:
Sergei Golubchik 2024-12-23 17:44:24 +01:00
parent 828b928fce
commit b059f60510

View file

@ -5122,6 +5122,9 @@ put_info(const char *str,INFO_TYPE info_type, uint error, const char *sqlstate)
}
if (!opt_silent || info_type == INFO_ERROR)
{
report_progress_end();
fflush(stdout);
if (!inited)
{
#ifdef HAVE_SETUPTERM