mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
WL#5486: Remove code for unsupported platforms
Remove Netware specific code.
This commit is contained in:
parent
ef27448469
commit
07e7b4d6fe
155 changed files with 298 additions and 7111 deletions
|
|
@ -37,12 +37,7 @@ UNIV_INTERN ulint ut_dbg_zero = 0;
|
|||
will stop at the next ut_a() or ut_ad(). */
|
||||
UNIV_INTERN ibool ut_dbg_stop_threads = FALSE;
|
||||
#endif
|
||||
#ifdef __NETWARE__
|
||||
/** Flag for ignoring further assertion failures. This is set to TRUE
|
||||
when on NetWare there happens an InnoDB assertion failure or other
|
||||
fatal error condition that requires an immediate shutdown. */
|
||||
UNIV_INTERN ibool panic_shutdown = FALSE;
|
||||
#elif !defined(UT_DBG_USE_ABORT)
|
||||
#ifndef UT_DBG_USE_ABORT
|
||||
/** A null pointer that will be dereferenced to trigger a memory trap */
|
||||
UNIV_INTERN ulint* ut_dbg_null_ptr = NULL;
|
||||
#endif
|
||||
|
|
@ -86,22 +81,7 @@ ut_dbg_assertion_failed(
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef __NETWARE__
|
||||
/*************************************************************//**
|
||||
Shut down MySQL/InnoDB after assertion failure. */
|
||||
UNIV_INTERN
|
||||
void
|
||||
ut_dbg_panic(void)
|
||||
/*==============*/
|
||||
{
|
||||
if (!panic_shutdown) {
|
||||
panic_shutdown = TRUE;
|
||||
innobase_shutdown_for_mysql();
|
||||
}
|
||||
exit(1);
|
||||
}
|
||||
#else /* __NETWARE__ */
|
||||
# if defined(UNIV_SYNC_DEBUG) || !defined(UT_DBG_USE_ABORT)
|
||||
#if defined(UNIV_SYNC_DEBUG) || !defined(UT_DBG_USE_ABORT)
|
||||
/*************************************************************//**
|
||||
Stop a thread after assertion failure. */
|
||||
UNIV_INTERN
|
||||
|
|
@ -117,8 +97,7 @@ ut_dbg_stop_thread(
|
|||
os_thread_sleep(1000000000);
|
||||
#endif /* !UNIV_HOTBACKUP */
|
||||
}
|
||||
# endif
|
||||
#endif /* __NETWARE__ */
|
||||
#endif
|
||||
|
||||
#ifdef UNIV_COMPILE_TEST_FUNCS
|
||||
|
||||
|
|
|
|||
|
|
@ -179,9 +179,6 @@ retry:
|
|||
|
||||
/* Make an intentional seg fault so that we get a stack
|
||||
trace */
|
||||
/* Intentional segfault on NetWare causes an abend. Avoid this
|
||||
by graceful exit handling in ut_a(). */
|
||||
#if (!defined __NETWARE__)
|
||||
if (assert_on_error) {
|
||||
ut_print_timestamp(stderr);
|
||||
|
||||
|
|
@ -194,9 +191,6 @@ retry:
|
|||
} else {
|
||||
return(NULL);
|
||||
}
|
||||
#else
|
||||
ut_a(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (set_to_zero) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue