|
drizzle
C++ MySQL-protocol-compatible database server
|
Go to the source code of this file.
Macros | |
| #define | ut0dbg_h |
| #define | UT_DBG_FAIL(EXPR) |
| #define | UT_DBG_PANIC if (*(ut_dbg_null_ptr)) ut_dbg_null_ptr = NULL |
| #define | UT_DBG_STOP |
| #define | ut_a(EXPR) |
| #define | ut_error |
| #define | ut_ad(EXPR) |
| #define | ut_d(EXPR) |
| #define | UT_NOT_USED(A) |
Functions | |
| UNIV_INTERN void | ut_dbg_assertion_failed (const char *expr, const char *file, ulint line) |
| UNIV_INTERN void | ut_dbg_stop_thread (const char *file, ulint line) |
Variables | |
| ulint | ut_dbg_zero |
| ulint * | ut_dbg_null_ptr |
| ibool | ut_dbg_stop_threads |
| #define ut_a | ( | EXPR | ) |
Abort execution if EXPR does not evaluate to nonzero.
| EXPR | assertion expression that should hold |
| #define ut_ad | ( | EXPR | ) |
| #define ut_d | ( | EXPR | ) |
| #define UT_DBG_FAIL | ( | EXPR | ) |
Test if an assertion fails.
| EXPR | assertion expression |
| #define UT_DBG_PANIC if (*(ut_dbg_null_ptr)) ut_dbg_null_ptr = NULL |
| #define UT_DBG_STOP |
Stop threads in ut_a().
| #define ut_error |
Abort execution.
| #define UT_NOT_USED | ( | A | ) |
| UNIV_INTERN void ut_dbg_assertion_failed | ( | const char * | expr, |
| const char * | file, | ||
| ulint | line ) |
| UNIV_INTERN void ut_dbg_stop_thread | ( | const char * | file, |
| ulint | line ) |
|
extern |
|
extern |
If this is set to TRUE by ut_dbg_assertion_failed(), all threads will stop at the next ut_a() or ut_ad().