Better error message in mysqlmanager

This commit is contained in:
monty@hundin.mysql.fi 2001-10-16 02:27:08 +03:00
parent da96aaed2f
commit cec2793eb8
2 changed files with 3 additions and 2 deletions

View file

@ -5286,6 +5286,7 @@ Replication should work with @code{RAND()} and user variables @code{@@var}.
Online backup with very low performance penalty. The online backup will Online backup with very low performance penalty. The online backup will
make it easy to add a new replication slave without taking down the make it easy to add a new replication slave without taking down the
master. master.
@item
Allow @code{DELETE} on @code{MyISAM} tables to use the record cache. Allow @code{DELETE} on @code{MyISAM} tables to use the record cache.
To do this, we need to update the threads record cache when we update To do this, we need to update the threads record cache when we update
the @code{.MYD} file. the @code{.MYD} file.

View file

@ -1170,8 +1170,8 @@ static char* read_line(struct manager_thd* thd)
{ {
if (vio_should_retry(thd->vio) && retry_count++ < MAX_RETRY_COUNT) if (vio_should_retry(thd->vio) && retry_count++ < MAX_RETRY_COUNT)
continue; continue;
log_err("Error reading command from client (Error: %d)", log_err("Error reading command from client (len: %d Error: %d)",
vio_errno(thd->vio)); len, vio_errno(thd->vio));
thd->fatal=1; thd->fatal=1;
return 0; return 0;
} }