From 16ae922e2a0a79d299a744e67438d0f9515060c7 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 29 Nov 2004 18:32:52 +0200 Subject: 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. --- client/mysqladmin.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'client/mysqladmin.cc') 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; -- cgit v1.2.1