Commit cec2793e authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Better error message in mysqlmanager

parent da96aaed
...@@ -5286,6 +5286,7 @@ Replication should work with @code{RAND()} and user variables @code{@@var}. ...@@ -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.
...@@ -1170,8 +1170,8 @@ static char* read_line(struct manager_thd* thd) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment