summaryrefslogtreecommitdiff
path: root/Docs/internals.texi
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-11 18:58:40 +0300
committerunknown <monty@hundin.mysql.fi>2001-10-11 18:58:40 +0300
commitdd94eb03890805bcf0679f42f3cd62d247c2538f (patch)
tree7e83f528d9bad7165d8a2a978b5ba4cacae654ab /Docs/internals.texi
parent6f3ecca91a9b634e16bb8cee6cac2c8b74e877d2 (diff)
downloadmariadb-git-dd94eb03890805bcf0679f42f3cd62d247c2538f.tar.gz
portability fixes
Docs/internals.texi: Added chapter about DBUG tags sql/sql_db.cc: cleanup of DBUG tags sql/sql_parse.cc: cleanup of DBUG tags sql/table.cc: cleanup of DBUG tags tools/mysqlmanager.c: Portability fixes
Diffstat (limited to 'Docs/internals.texi')
-rw-r--r--Docs/internals.texi21
1 files changed, 21 insertions, 0 deletions
diff --git a/Docs/internals.texi b/Docs/internals.texi
index 2195b42d9a0..f255a7ab6a6 100644
--- a/Docs/internals.texi
+++ b/Docs/internals.texi
@@ -481,6 +481,27 @@ Functions i mysys: (For flags se my_sys.h)
void end_key_cache _A((void));
- End key-cacheing.
+@node DBUG,,,
+@chapter The DBUG tags to use:
+
+Here is some of the tags we now use:
+(We should probably add a couple of new ones)
+
+"enter" Arguments to the function.
+"exit" Results from the function.
+"info" is something that may be interesting.
+"warning" is when something doesn't go the usual route or may be wrong.
+"error" when something went wrong.
+"loop" write in a loop, that is probably only useful when debugging
+ the loop. These should normally be deleted when on is
+ satisfied with the code and it has been in real use for a while.
+
+Some specific to mysqld, because we want to watch these carefully:
+
+"trans" Starting/stopping transactions.
+"quit" 'info' when mysqld is preparing to die.
+"query" Print query
+
@node protocol,,,
@chapter MySQL client/server protocol