From 5ef265f21957ceb1801f5beff46835866fc807d5 Mon Sep 17 00:00:00 2001 From: "bar@mysql.com" <> Date: Tue, 22 Feb 2005 16:37:25 +0400 Subject: Bug#8349 myisamchk: --set-charset does not work What we need to be able to set in myisamchk is actually a collation, not a character set. This fix just changes to display the proper error message. --- include/mysys_err.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/mysys_err.h') diff --git a/include/mysys_err.h b/include/mysys_err.h index 230be5f4720..19106dc3553 100644 --- a/include/mysys_err.h +++ b/include/mysys_err.h @@ -21,7 +21,7 @@ extern "C" { #endif #define GLOB 0 /* Error maps */ -#define GLOBERRS 28 /* Max number of error messages in map's */ +#define GLOBERRS 29 /* Max number of error messages in map's */ #define EE(X) globerrs[ X ] /* Defines to add error to right map */ extern const char * NEAR globerrs[]; /* my_error_messages is here */ @@ -54,6 +54,7 @@ extern const char * NEAR globerrs[]; /* my_error_messages is here */ #define EE_CANT_SYMLINK 25 #define EE_REALPATH 26 #define EE_SYNC 27 +#define EE_UNKNOWN_COLLATION 28 /* exit codes for all MySQL programs */ -- cgit v1.2.1