summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-01-31 11:04:49 -0700
committerunknown <sasha@mysql.sashanet.com>2002-01-31 11:04:49 -0700
commit8612588aeb74cc1a3252206da9c14cd83f392b4e (patch)
treebd625aaa09009624436017b04d9f7584655ced93 /include
parentf5a75e7965c781389128b3163e1c37c6f5fc71bd (diff)
parent1d76e90c1b61981e284bd583e54345cce9fe3551 (diff)
downloadmariadb-git-8612588aeb74cc1a3252206da9c14cd83f392b4e.tar.gz
Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/reiser-data/mysql-4.0 sql/item_func.cc: Auto merged sql/slave.cc: Auto merged
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index a5fe99d5271..6a7385e18a2 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -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