From db47a46bedaceb51c591d615b9ebaeabe4c2528f Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 27 Jan 2001 13:32:29 +0100 Subject: [PATCH 1/2] logging_ok Logging to logging@openlogging.org accepted mi_check.c fix for empty FULLTEXT index manual.texi fulltext finetuning 50% limit issue modified Docs/manual.texi: fulltext finetuning 50% limit issue modified myisam/mi_check.c: fix for empty FULLTEXT index BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- BitKeeper/etc/logging_ok | 1 + Docs/manual.texi | 2 +- myisam/mi_check.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 4c2320fbc15..256272eaf10 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -5,3 +5,4 @@ tim@cane.mysql.fi serg@donna.mysql.com jcole@tetra.spaceapes.com paul@central.snake.net +serg@serg.mysql.com diff --git a/Docs/manual.texi b/Docs/manual.texi index e2e9611db39..63facf44c25 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -38725,7 +38725,7 @@ your @code{FULLTEXT} indexes. @end example line in @code{myisam/ftdefs.h} to @example -#define GWS_IN_USE GWS_IDF +#define GWS_IN_USE GWS_FREQ @end example and recompile @strong{MySQL}. There is no need to rebuild the indexes though. diff --git a/myisam/mi_check.c b/myisam/mi_check.c index ee9e3387119..037f66c54e5 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -376,7 +376,7 @@ int chk_key(MI_CHECK *param, register MI_INFO *info) if ((!(param->testflag & T_SILENT))) printf ("- check data record references index: %d\n",key+1); if (share->state.key_root[key] == HA_OFFSET_ERROR && - info->state->records == 0) + (info->state->records == 0 || keyinfo->flag & HA_FULLTEXT)) continue; if (!_mi_fetch_keypage(info,keyinfo,share->state.key_root[key],info->buff, 0)) From 7a70b21271ed43a1f5a9c95af574a5203d1d2079 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 28 Jan 2001 13:20:03 +0100 Subject: [PATCH 2/2] errmsg.c buffer overflow in libmysqlclient fixed libmysql/errmsg.c: buffer overflow in libmysqlclient fixed --- libmysql/errmsg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmysql/errmsg.c b/libmysql/errmsg.c index 194542afd7f..00c8910a573 100644 --- a/libmysql/errmsg.c +++ b/libmysql/errmsg.c @@ -36,7 +36,7 @@ const char *client_errors[]= "MySQL client got out of memory", "Wrong host info", "Localhost via UNIX socket", - "%s via TCP/IP", + "%-.64s via TCP/IP", "Error in server handshake", "Lost connection to MySQL server during query", "Commands out of sync; You can't run this command now", @@ -62,11 +62,11 @@ const char *client_errors[]= "MySQL client run out of memory", "Wrong host info", "Localhost via UNIX socket", - "%s via TCP/IP", + "%-.64s via TCP/IP", "Error in server handshake", "Lost connection to MySQL server during query", "Commands out of sync; You can't run this command now", - "%s via named pipe", + "%-.64s via named pipe", "Can't wait for named pipe to host: %-.64s pipe: %-.32s (%lu)", "Can't open named pipe to host: %-.64s pipe: %-.32s (%lu)", "Can't set state of named pipe to host: %-.64s pipe: %-.32s (%lu)",