MySQL 9.1.0
Source Code Documentation
|
Debug utilities for Innobase. More...
#include <stdlib.h>
#include "my_dbug.h"
#include "univ.i"
#include "ha_prototypes.h"
#include "sql/log.h"
#include "ut0dbg.h"
Functions | |
void | ut_set_assert_callback (std::function< void()> &callback) |
Set a callback function to be called before exiting. More... | |
void | ut_dbg_assertion_failed (const char *expr, const char *file, uint64_t line) |
Report a failed assertion. More... | |
Variables | |
static std::function< void()> | assert_callback |
Debug utilities for Innobase.
Created 1/30/1994 Heikki Tuuri
void ut_dbg_assertion_failed | ( | const char * | expr, |
const char * | file, | ||
uint64_t | line | ||
) |
Report a failed assertion.
[in] | expr | The failed assertion |
[in] | file | Source file containing the assertion |
[in] | line | Line number of the assertion |
void ut_set_assert_callback | ( | std::function< void()> & | callback | ) |
Set a callback function to be called before exiting.
[in] | callback | user callback function |
|
static |