mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
temporary commit to pull Monty's changes
include/my_global.h: added dbug_volatile mysys/mf_iocache2.c: some debugging code to investigate failed assert in my_b_append_tell() sql/item_func.cc: fixed logging bug in DO RELEASE_LOCK()
This commit is contained in:
@ -51,6 +51,16 @@
|
||||
#endif
|
||||
#endif /* _WIN32... */
|
||||
|
||||
/* sometimes we want to make sure that the variable is not put into
|
||||
a register in debugging mode so we can see its value in the core
|
||||
*/
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
#define dbug_volatile volatile
|
||||
#else
|
||||
#define dbug_volatile
|
||||
#endif
|
||||
|
||||
/*
|
||||
The macros below are borrowed from include/linux/compiler.h in the
|
||||
Linux kernel. Use them to indicate the likelyhood of the truthfulness
|
||||
|
Reference in New Issue
Block a user