summaryrefslogtreecommitdiff
path: root/client/mysqladmin.cc
diff options
context:
space:
mode:
authorunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2004-11-29 17:41:47 +0200
committerunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2004-11-29 17:41:47 +0200
commit41ade141aa5f134711eadbfd45183634049842cb (patch)
tree04d6c724b25b06060b936857dfaebf625268816e /client/mysqladmin.cc
parentbd6634add5fae3365a48bfd42d8effc001c5fb5e (diff)
downloadmariadb-git-41ade141aa5f134711eadbfd45183634049842cb.tar.gz
Applied some Netware related patches.
client/mysqladmin.cc: Added option to mysqladmin for Netware. netware/comp_err.def: Copyright notice update, for Netware. netware/isamchk.def: Copyright notice update, for Netware. netware/isamlog.def: Copyright notice update, for Netware. netware/libmysql.def: Copyright notice update, for Netware. netware/my_print_defaults.def: Copyright notice update, for Netware. netware/myisam_ftdump.def: Copyright notice update, for Netware. netware/myisamchk.def: Copyright notice update, for Netware. netware/myisamlog.def: Copyright notice update, for Netware. netware/myisampack.def: Copyright notice update, for Netware. netware/mysql.def: Copyright notice update, for Netware. netware/mysql_install.def: Copyright notice update, for Netware. netware/mysql_install_db.def: Copyright notice update, for Netware. netware/mysql_test_run.def: Copyright notice update, for Netware. netware/mysql_waitpid.def: Copyright notice update, for Netware. netware/mysqladmin.def: Copyright notice update, for Netware. netware/mysqlbinlog.def: Copyright notice update, for Netware. netware/mysqlcheck.def: Copyright notice update, for Netware. netware/mysqld.def: Copyright notice update, for Netware. netware/mysqld_safe.def: Copyright notice update, for Netware. netware/mysqldump.def: Copyright notice update, for Netware. netware/mysqlimport.def: Copyright notice update, for Netware. netware/mysqlshow.def: Copyright notice update, for Netware. netware/mysqltest.def: Copyright notice update, for Netware. netware/pack_isam.def: Copyright notice update, for Netware. netware/perror.def: Copyright notice update, for Netware. netware/replace.def: Copyright notice update, for Netware. netware/resolve_stack_dump.def: Copyright notice update, for Netware. netware/resolveip.def: Copyright notice update, for Netware. sql/mysqld.cc: Changes to fix the abend on NetWare on recieving the server down and volume deactivation events. Do not join for the main thread if these events occur
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r--client/mysqladmin.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc
index 8491d0df7b5..b95ad83f7e8 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -125,6 +125,10 @@ static TYPELIB command_typelib=
static struct my_option my_long_options[] =
{
+#ifdef __NETWARE__
+ {"autoclose", 'a', " Auto close the screen on exit for NetWare",
+ 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
+#endif
{"count", 'c',
"Number of iterations to make. This works with -i (--sleep) only.",
(gptr*) &nr_iterations, (gptr*) &nr_iterations, 0, GET_UINT,
@@ -218,6 +222,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
int error = 0;
switch(optid) {
+#ifdef __NETWARE__
+ case 'a':
+ setscreenmode(SCR_AUTOCLOSE_ON_EXIT); // auto close the screen /
+ break;
+#endif
case 'c':
opt_count_iterations= 1;
break;