Loading innobase/include/ut0dbg.h +2 −4 Original line number Diff line number Diff line Loading @@ -13,8 +13,6 @@ Created 1/30/1994 Heikki Tuuri #include <stdlib.h> #include "os0thread.h" extern ulint ut_dbg_zero; /* This is used to eliminate compiler warnings */ extern ibool ut_dbg_stop_threads; extern ulint* ut_dbg_null_ptr; Loading @@ -26,7 +24,7 @@ extern const char* ut_dbg_msg_stop; #ifdef __NETWARE__ extern ibool panic_shutdown; #define ut_a(EXPR) do {\ if (!((ulint)(EXPR) + ut_dbg_zero)) {\ if (UNIV_UNLIKELY(!((ulint)(EXPR)))) {\ ut_print_timestamp(stderr);\ fprintf(stderr, ut_dbg_msg_assert_fail,\ os_thread_pf(os_thread_get_curr_id()), __FILE__,\ Loading Loading @@ -55,7 +53,7 @@ extern ibool panic_shutdown; } while (0) #else #define ut_a(EXPR) do {\ if (!((ulint)(EXPR) + ut_dbg_zero)) {\ if (UNIV_UNLIKELY(!((ulint)(EXPR)))) {\ ut_print_timestamp(stderr);\ fprintf(stderr, ut_dbg_msg_assert_fail,\ os_thread_pf(os_thread_get_curr_id()), __FILE__,\ Loading innobase/ut/ut0dbg.c +0 −3 Original line number Diff line number Diff line Loading @@ -8,9 +8,6 @@ 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; Loading Loading
innobase/include/ut0dbg.h +2 −4 Original line number Diff line number Diff line Loading @@ -13,8 +13,6 @@ Created 1/30/1994 Heikki Tuuri #include <stdlib.h> #include "os0thread.h" extern ulint ut_dbg_zero; /* This is used to eliminate compiler warnings */ extern ibool ut_dbg_stop_threads; extern ulint* ut_dbg_null_ptr; Loading @@ -26,7 +24,7 @@ extern const char* ut_dbg_msg_stop; #ifdef __NETWARE__ extern ibool panic_shutdown; #define ut_a(EXPR) do {\ if (!((ulint)(EXPR) + ut_dbg_zero)) {\ if (UNIV_UNLIKELY(!((ulint)(EXPR)))) {\ ut_print_timestamp(stderr);\ fprintf(stderr, ut_dbg_msg_assert_fail,\ os_thread_pf(os_thread_get_curr_id()), __FILE__,\ Loading Loading @@ -55,7 +53,7 @@ extern ibool panic_shutdown; } while (0) #else #define ut_a(EXPR) do {\ if (!((ulint)(EXPR) + ut_dbg_zero)) {\ if (UNIV_UNLIKELY(!((ulint)(EXPR)))) {\ ut_print_timestamp(stderr);\ fprintf(stderr, ut_dbg_msg_assert_fail,\ os_thread_pf(os_thread_get_curr_id()), __FILE__,\ Loading
innobase/ut/ut0dbg.c +0 −3 Original line number Diff line number Diff line Loading @@ -8,9 +8,6 @@ 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; Loading