diff options
author | unknown <serg@serg.mylan> | 2004-11-11 14:42:35 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-11-11 14:42:35 +0100 |
commit | a55630bd37ceddf8f3678fb51d3fd28365521c82 (patch) | |
tree | 507ea81c737a06fc8ebd76c43fd263d8864c6780 /dbug | |
parent | f200533b3ee958571a12c9bce7e94a9ca53062d4 (diff) | |
download | mariadb-git-a55630bd37ceddf8f3678fb51d3fd28365521c82.tar.gz |
document DBUG_OUTPUT()
misc cleanup
dbug/example1.c:
cleanup
dbug/example2.c:
cleanup
dbug/example3.c:
cleanup
dbug/main.c:
cleanup
dbug/user.r:
document DBUG_OUTPUT()
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/example1.c | 3 | ||||
-rw-r--r-- | dbug/example2.c | 3 | ||||
-rw-r--r-- | dbug/example3.c | 3 | ||||
-rw-r--r-- | dbug/main.c | 2 | ||||
-rw-r--r-- | dbug/user.r | 9 |
5 files changed, 9 insertions, 11 deletions
diff --git a/dbug/example1.c b/dbug/example1.c index e468f065796..7b3c3fcd63d 100644 --- a/dbug/example1.c +++ b/dbug/example1.c @@ -1,6 +1,3 @@ - -#include <my_global.h> - main (argc, argv) int argc; char *argv[]; diff --git a/dbug/example2.c b/dbug/example2.c index 5e5f14f0e7e..75fc1321b13 100644 --- a/dbug/example2.c +++ b/dbug/example2.c @@ -1,6 +1,3 @@ - -#include <my_global.h> - int debug = 0; main (argc, argv) diff --git a/dbug/example3.c b/dbug/example3.c index f177c07425d..c035cdfffa0 100644 --- a/dbug/example3.c +++ b/dbug/example3.c @@ -1,6 +1,3 @@ - -#include <my_global.h> - main (argc, argv) int argc; char *argv[]; diff --git a/dbug/main.c b/dbug/main.c index 6d1a307095e..00e80c8ba31 100644 --- a/dbug/main.c +++ b/dbug/main.c @@ -1,4 +1,4 @@ -#include <dbug_long.h> +#include <dbug.h> int main (argc, argv) int argc; diff --git a/dbug/user.r b/dbug/user.r index 2d46c6663bd..84c5bca908c 100644 --- a/dbug/user.r +++ b/dbug/user.r @@ -873,7 +873,14 @@ disabled by DBUG_OFF togeher with the .I dbug library. So there will be no need to disable asserts separately with NDEBUG. .SP 1 -EX:\ \fCDBUG_ASSERT(\ a\ >\ 0);\fR +EX:\ \fCDBUG_ASSERT(\ a\ >\ 0\ );\fR +.SP 1 +.LI DBUG_OUTPUT\ +In multi-threaded environment disables (or enables) any +.I dbug +output from the current thread. +.SP 1 +EX:\ \fCDBUG_OUTPUT(\ 0\ );\fR .SP 1 .LE |