mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
ec7cb94cc9
Marko's patch to ut_a() fputs innobase/ut/ut0dbg.c: Marko's patch to ut_a() fputs innobase/include/ut0dbg.h: Marko's patch to ut_a() fputs
28 lines
864 B
C
28 lines
864 B
C
/*********************************************************************
|
|
Debug utilities for Innobase.
|
|
|
|
(c) 1994, 1995 Innobase Oy
|
|
|
|
Created 1/30/1994 Heikki Tuuri
|
|
**********************************************************************/
|
|
|
|
#include "univ.i"
|
|
|
|
/* This is used to eliminate compiler warnings */
|
|
ulint ut_dbg_zero = 0;
|
|
|
|
/* If this is set to TRUE all threads will stop into the next assertion
|
|
and assert */
|
|
ibool ut_dbg_stop_threads = FALSE;
|
|
|
|
/* Null pointer used to generate memory trap */
|
|
|
|
ulint* ut_dbg_null_ptr = NULL;
|
|
|
|
const char* ut_dbg_msg_assert_fail =
|
|
"InnoDB: Assertion failure in thread %lu in file %s line %lu\n";
|
|
const char* ut_dbg_msg_trap =
|
|
"InnoDB: We intentionally generate a memory trap.\n"
|
|
"InnoDB: Send a detailed bug report to mysql@lists.mysql.com.\n";
|
|
const char* ut_dbg_msg_stop =
|
|
"InnoDB: Thread %lu stopped in file %s line %lu\n";
|