From: jon
Date: June 6 2007 9:29pm
Subject: svn commit - mysqldoc@docsrva: r6693 - trunk/ndbapi
List-Archive: http://lists.mysql.com/commits/28247
Message-Id: <200706062129.l56LTHd9007290@docsrva.mysql.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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*}\,?/$1$2$3
/
@@ -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*}\,?/$2$1$3
/
+
+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