Better error message in mysqlmanager

Docs/manual.texi:
  Cleanup
tools/mysqlmanager.c:
  Better error message
This commit is contained in:
unknown 2001-10-16 02:27:08 +03:00
parent be31ffa2e4
commit 9e99413c13
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;
} }