monty.doc 803 Bytes
Newer Older
bk@work.mysql.com's avatar
bk@work.mysql.com committed
1 2
Some extra options to DBUG_PUSH:

3 4 5
O,logfile   - As in "o,logfile", but do a close and reopen each time anything
	      is written to the logfile. This is needed when one expects
	      the program to crash anywhere, in which case one doesn't
bk@work.mysql.com's avatar
bk@work.mysql.com committed
6 7
	      (at least in MSDOS) get a full log-file.

8
If one wants a logfile with a ':' in the filename, one can get it by
bk@work.mysql.com's avatar
bk@work.mysql.com committed
9 10 11 12
giving a double ':'.  (As in "O,c::\tmp\log")

DBUG_DUMP("keyword",memory-position,length) writes a hexdump of the
given memory-area to the outputfile.
13 14 15 16 17 18 19 20

All changes that I or other people at MySQL AB have done to all files
in the dbug library (Mainly in dbug.c, dbug_analyze.c, dbug_long.h,
dbug.h) are put in public domain, as the rest of the dbug.c library)

To my knowledge, all code in dbug library are in public domain.

Michael Widenius