Browse Source

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
bb-10.5-monty
Sergei Golubchik 11 months ago
parent
commit
b059f60510
  1. 3
      client/mysql.cc

3
client/mysql.cc

@ -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

Loading…
Cancel
Save