Author: jstephens
Date: 2007-06-06 23:29:15 +0200 (Wed, 06 Jun 2007)
New Revision: 6693
Log:
Couple more little fixes...
Modified:
trunk/ndbapi/error-regexes.txt
Modified: trunk/ndbapi/error-regexes.txt
===================================================================
--- trunk/ndbapi/error-regexes.txt 2007-06-06 21:10:26 UTC (rev 6692)
+++ trunk/ndbapi/error-regexes.txt 2007-06-06 21:29:15 UTC (rev 6693)
Changed blocks: 2, Lines Added: 25, Lines Deleted: 2; 1420 bytes
@@ -36,7 +36,7 @@
-For the ndbd exit codes table-
-Use this regexp:
+1. Use this regexp:
\s*\{(.*)\, (.*)\, "(.*)"\s*}\,?/<row><entry><errorcode>$1</errorcode></entry><entry><errortype>$2</errortype></entry><entry><errortext>$3</errortext></entry></row>/
@@ -49,4 +49,27 @@
$3 : Error message
Split up the result and paste into the appropriate tables in
-ndbd-error-codes using the C comments as a guide.
\ No newline at end of file
+ndbd-error-codes using the C comments as a guide.
+
+-For the ndbd exit code classifications table-
+
+2. Use this regexp:
+
+\s*\{(.*)\, (.*)\, "(.*)"\s*}\,?/<row><entry><errorcode>$2</errorcode></entry><entry><errortype>$1</errortype></entry><entry><errortext>$3</errortext></entry></row>/
+
+on the StatusExitClassificationMapping array (also in ndbd_exit_codes.c)
+
+MATCHES:
+
+$1 : Classification code
+$2 : Classification type
+$3 : Classification name
+
+Then replace according to the following (obtained from the
+StatusExitMessageMapping array):
+
+XST_S -> Success
+XST_U -> Unknown
+XST_P -> Permanent error, external action needed
+XST_R -> Temporary error, restart node
+XST_I -> Ndbd file system error, restart node initial
\ No newline at end of file
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r6693 - trunk/ndbapi | jon | 6 Jun |