~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/ut0dbg.h

Removed dead variable, sorted authors file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        const char* file,       /* in: source file containing the assertion */
32
32
        ulint line);            /* in: line number of the assertion */
33
33
 
 
34
#ifdef __NETWARE__
 
35
/* Flag for ignoring further assertion failures.
 
36
On NetWare, have a graceful exit rather than a segfault to avoid abends. */
 
37
extern ibool    panic_shutdown;
 
38
/* Abort the execution. */
 
39
void ut_dbg_panic(void);
 
40
# define UT_DBG_PANIC ut_dbg_panic()
 
41
/* Stop threads in ut_a(). */
 
42
# define UT_DBG_STOP    while (0)       /* We do not do this on NetWare */
 
43
#else /* __NETWARE__ */
34
44
# if defined(__WIN__) || defined(__INTEL_COMPILER)
35
45
#  undef UT_DBG_USE_ABORT
36
46
# elif defined(__GNUC__) && (__GNUC__ > 2)
72
82
                ut_dbg_stop_thread(__FILE__, (ulint) __LINE__); \
73
83
        } while (0)
74
84
# endif /* UT_DBG_USE_ABORT */
 
85
#endif /* __NETWARE__ */
75
86
 
76
87
/* Abort execution if EXPR does not evaluate to nonzero. */
77
88
#define ut_a(EXPR) do {                                         \