summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/client_priv.h2
-rw-r--r--myisam/myisamchk.c2
-rw-r--r--sql/mysqld.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/client/client_priv.h b/client/client_priv.h
index 85c99951532..5029f219494 100644
--- a/client/client_priv.h
+++ b/client/client_priv.h
@@ -26,7 +26,7 @@
/* We have to define 'enum options' identical in all files to keep OS2 happy */
-enum options { OPT_CHARSETS_DIR=256, OPT_DEFAULT_CHARSET,
+enum options_client { OPT_CHARSETS_DIR=256, OPT_DEFAULT_CHARSET,
OPT_PAGER, OPT_NOPAGER, OPT_TEE, OPT_NOTEE,
OPT_LOW_PRIORITY, OPT_AUTO_REPAIR, OPT_COMPRESS,
OPT_DROP, OPT_LOCKS, OPT_KEYWORDS, OPT_DELAYED, OPT_OPTIMIZE,
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 83edadf153f..b7627fc59fd 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
#endif
} /* main */
-enum options {
+enum options_mc {
OPT_CHARSETS_DIR=256, OPT_SET_CHARSET,OPT_START_CHECK_POS,
OPT_CORRECT_CHECKSUM, OPT_KEY_BUFFER_SIZE, OPT_MYISAM_BLOCK_SIZE,
OPT_READ_BUFFER_SIZE, OPT_WRITE_BUFFER_SIZE, OPT_SORT_BUFFER_SIZE,
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index bcf115feccc..cc870ed3e36 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3130,7 +3130,7 @@ extern "C" pthread_handler_decl(handle_connections_namedpipes,arg)
** handle start options
******************************************************************************/
-enum options {
+enum options_mysqld {
OPT_ISAM_LOG=256, OPT_SKIP_NEW,
OPT_SKIP_GRANT, OPT_SKIP_LOCK,
OPT_ENABLE_LOCK, OPT_USE_LOCKING,