diff options
author | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-24 22:03:34 +0300 |
---|---|---|
committer | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-24 22:03:34 +0300 |
commit | fe977b0cd0f2cbabd0a3804cfd83a02698601ad7 (patch) | |
tree | c0c34797bba5e900d1bd182f5a096c63abba60d1 /client/mysqlbinlog.cc | |
parent | 9f72d504b42d0e944bbb84a235075a29696f1358 (diff) | |
download | mariadb-git-fe977b0cd0f2cbabd0a3804cfd83a02698601ad7.tar.gz |
Several fixes for Netware.
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 7c3d22c4900..9ae280a997d 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -400,6 +400,11 @@ Create_file event for file_id: %u\n",exv->file_id); static struct my_option my_long_options[] = { + +#ifdef __NETWARE__ + {"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.", + 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, +#endif #ifndef DBUG_OFF {"debug", '#', "Output debug log.", (gptr*) &default_dbug_option, (gptr*) &default_dbug_option, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, @@ -511,6 +516,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), { bool tty_password=0; switch (optid) { +#ifdef __NETWARE__ + case OPT_AUTO_CLOSE: + setscreenmode(SCR_AUTOCLOSE_ON_EXIT); + break; +#endif #ifndef DBUG_OFF case '#': DBUG_PUSH(argument ? argument : default_dbug_option); @@ -857,7 +867,7 @@ typedef struct st_my_tmpdir uint cur, max; } MY_TMPDIR; -#if defined( __WIN__) || defined(OS2) +#if defined( __WIN__) || defined(OS2) || defined(__NETWARE__) #define DELIM ';' #else #define DELIM ':' |