summaryrefslogtreecommitdiff
path: root/client/mysqladmin.cc
diff options
context:
space:
mode:
authorunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2004-11-29 18:32:52 +0200
committerunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2004-11-29 18:32:52 +0200
commit16ae922e2a0a79d299a744e67438d0f9515060c7 (patch)
tree980f26ce326716d2c2f6e98be490d42e31dd7c2c /client/mysqladmin.cc
parenta94df6eed1bbb6394d94b9b165c52ed643622778 (diff)
downloadmariadb-git-16ae922e2a0a79d299a744e67438d0f9515060c7.tar.gz
Applied some patches for Netware.
client/mysqladmin.cc: Added option to close the screen on exit for Netware. netware/comp_err.def: Copyright notice change, for Netware. netware/isamchk.def: Copyright notice change, for Netware. netware/isamlog.def: Copyright notice change, for Netware. netware/libmysql.def: Copyright notice change, for Netware. netware/my_print_defaults.def: Copyright notice change, for Netware. netware/myisam_ftdump.def: Copyright notice change, for Netware. netware/myisamchk.def: Copyright notice change, for Netware. netware/myisamlog.def: Copyright notice change, for Netware. netware/myisampack.def: Copyright notice change, for Netware. netware/mysql.def: Copyright notice change, for Netware. netware/mysql_install.def: Copyright notice change, for Netware. netware/mysql_install_db.def: Copyright notice change, for Netware. netware/mysql_test_run.def: Copyright notice change, for Netware. netware/mysql_waitpid.def: Copyright notice change, for Netware. netware/mysqladmin.def: Copyright notice change, for Netware. netware/mysqlbinlog.def: Copyright notice change, for Netware. netware/mysqlcheck.def: Copyright notice change, for Netware. netware/mysqld.def: Copyright notice change, for Netware. netware/mysqld_safe.def: Copyright notice change, for Netware. netware/mysqldump.def: Copyright notice change, for Netware. netware/mysqlimport.def: Copyright notice change, for Netware. netware/mysqlshow.def: Copyright notice change, for Netware. netware/mysqltest.def: Copyright notice change, for Netware. netware/pack_isam.def: Copyright notice change, for Netware. netware/perror.def: Copyright notice change, for Netware. netware/replace.def: Copyright notice change, for Netware. netware/resolve_stack_dump.def: Copyright notice change, for Netware. netware/resolveip.def: Copyright notice change, 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..fe450868342 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;