From cec2793eb83cef3838ee7e34f343a4755e12f61e Mon Sep 17 00:00:00 2001 From: "monty@hundin.mysql.fi" <> Date: Tue, 16 Oct 2001 02:27:08 +0300 Subject: [PATCH] Better error message in mysqlmanager --- Docs/manual.texi | 1 + tools/mysqlmanager.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Docs/manual.texi b/Docs/manual.texi index fb7fe288082..71569e3ecab 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -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 make it easy to add a new replication slave without taking down the master. +@item 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 the @code{.MYD} file. diff --git a/tools/mysqlmanager.c b/tools/mysqlmanager.c index 9cb04505e2f..743919805b7 100644 --- a/tools/mysqlmanager.c +++ b/tools/mysqlmanager.c @@ -1170,8 +1170,8 @@ static char* read_line(struct manager_thd* thd) { if (vio_should_retry(thd->vio) && retry_count++ < MAX_RETRY_COUNT) continue; - log_err("Error reading command from client (Error: %d)", - vio_errno(thd->vio)); + log_err("Error reading command from client (len: %d Error: %d)", + len, vio_errno(thd->vio)); thd->fatal=1; return 0; }