summaryrefslogtreecommitdiff
path: root/include/mysys_err.h
diff options
context:
space:
mode:
authorbar@mysql.com <>2005-02-22 16:37:25 +0400
committerbar@mysql.com <>2005-02-22 16:37:25 +0400
commit5ef265f21957ceb1801f5beff46835866fc807d5 (patch)
tree95062708b51b3445411d11fd00f9ed76c9c8db40 /include/mysys_err.h
parent89a5530822cfe6a73d5281a73f77e37ae431c705 (diff)
downloadmariadb-git-5ef265f21957ceb1801f5beff46835866fc807d5.tar.gz
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.
Diffstat (limited to 'include/mysys_err.h')
-rw-r--r--include/mysys_err.h3
1 files changed, 2 insertions, 1 deletions
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 */