List:Commits« Previous MessageNext Message »
From:jon.stephens Date:February 15 2011 2:24pm
Subject:svn commit - mysqldoc@oter02: r25109 - trunk/ndbapi
View as plain text  
Author: js221926
Date: 2011-02-15 15:24:15 +0100 (Tue, 15 Feb 2011)
New Revision: 25109

Log:

Updated NSB API error code tables



Modified:
   trunk/ndbapi/error-codes-tmp.xml
   trunk/ndbapi/ndb-error-codes.xml


Modified: trunk/ndbapi/error-codes-tmp.xml
===================================================================
--- trunk/ndbapi/error-codes-tmp.xml	2011-02-15 01:31:13 UTC (rev 25108)
+++ trunk/ndbapi/error-codes-tmp.xml	2011-02-15 14:24:15 UTC (rev 25109)
Changed blocks: 14, Lines Added: 285, Lines Deleted: 141; 18702 bytes

@@ -23,180 +23,181 @@
   <para>
     This section contains a number of tables, one for each type of NDB
     API error. The error types include the following:
+  </para>
 
-    <informaltable>
-      <tgroup cols="3">
-        <colspec colwidth="33*"/>
-        <colspec colwidth="34*"/>
-        <colspec colwidth="33*"/>
-        <tbody>
-          <row>
-            <entry><itemizedlist>
+  <informaltable>
+    <tgroup cols="3">
+      <colspec colwidth="33*"/>
+      <colspec colwidth="34*"/>
+      <colspec colwidth="33*"/>
+      <tbody>
+        <row>
+          <entry><itemizedlist>
 
-                <listitem>
-                  <para>
-                    No error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  No error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Application error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Application error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Scan application error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Scan application error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Configuration or application error (currently
-                    unused)
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Configuration or application error (currently unused)
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    No data found
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  No data found
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Constraint violation
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Constraint violation
+                </para>
+              </listitem>
 
-              </itemizedlist></entry>
-            <entry><itemizedlist>
+            </itemizedlist></entry>
+          <entry><itemizedlist>
 
-                <listitem>
-                  <para>
-                    Schema error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Schema error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    User defined error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  User defined error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Insufficient space
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Insufficient space
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Temporary Resource error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Temporary Resource error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Node Recovery error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Node Recovery error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Overload error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Overload error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Timeout expired
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Timeout expired
+                </para>
+              </listitem>
 
-              </itemizedlist></entry>
-            <entry><itemizedlist>
+            </itemizedlist></entry>
+          <entry><itemizedlist>
 
-                <listitem>
-                  <para>
-                    Node shutdown
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Node shutdown
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Internal temporary
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Internal temporary
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Unknown result error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Unknown result error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Unknown error code (currently unused)
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Unknown error code (currently unused)
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Internal error
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Internal error
+                </para>
+              </listitem>
 
-                <listitem>
-                  <para>
-                    Function not implemented
-                  </para>
-                </listitem>
+              <listitem>
+                <para>
+                  Function not implemented
+                </para>
+              </listitem>
 
-              </itemizedlist></entry>
-          </row>
-        </tbody>
-      </tgroup>
-    </informaltable>
-  </para>
+            </itemizedlist></entry>
+        </row>
+      </tbody>
+    </tgroup>
+  </informaltable>
 
   <para>
     The information in each table includes, for each error:
+  </para>
 
-    <itemizedlist>
+  <itemizedlist>
 
-      <listitem>
-        <para>
-          The numeric NDB error code
-        </para>
-      </listitem>
+    <listitem>
+      <para>
+        The numeric NDB error code
+      </para>
+    </listitem>
 
-      <listitem>
-        <para>
-          The corresponding MySQL error code
-        </para>
-      </listitem>
+    <listitem>
+      <para>
+        The corresponding MySQL error code
+      </para>
+    </listitem>
 
-      <listitem>
-        <para>
-          The NDB classification code
-        </para>
+    <listitem>
+      <para>
+        The NDB classification code
+      </para>
 
-        <para>
-          See <xref linkend="ndb-error-classifications"/>, for the
-          meanings of these classification codes.
-        </para>
-      </listitem>
+      <para>
+        See <xref linkend="ndb-error-classifications"/>, for the
+        meanings of these classification codes.
+      </para>
+    </listitem>
 
-      <listitem>
-        <para>
-          The text of the error message
-        </para>
-      </listitem>
+    <listitem>
+      <para>
+        The text of the error message
+      </para>
+    </listitem>
 
-    </itemizedlist>
+  </itemizedlist>
 
+  <para>
     Similar errors have been grouped together in each table.
   </para>
 

@@ -298,6 +299,12 @@
             <entry><errortext>Too many nullable/bitfields in table definition</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>850</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Too long or too short default value</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>876</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>AE</errortype></entry>

@@ -361,6 +368,12 @@
             <entry><errortext>Unsupported type in scan filter</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>1233</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Table read-only</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>4256</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>AE</errortype></entry>

@@ -405,6 +418,12 @@
               nodegroup is started</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>417</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Bad operation reference - double unlock</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>242</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>AE</errortype></entry>

@@ -545,6 +564,18 @@
             <entry><errortext>Given NODEGROUP doesn't exist in this cluster</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>789</errorcode></entry>
+            <entry><errorname>HA_WRONG_CREATE_OPTION</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Logfile group not found</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>793</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Object definition too big</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>776</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>AE</errortype></entry>

@@ -566,6 +597,12 @@
               logging</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>794</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Schema feature requires data node upgrade</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1306</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>AE</errortype></entry>

@@ -1187,6 +1224,50 @@
             <entry><errortext>RecordSpecification has too many elements</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>4549</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>getLockHandle only supported for primary key read with a
+              lock</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>4550</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>Cannot releaseLockHandle until operation executed</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>4551</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>NdbLockHandle already released</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>4552</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>NdbLockHandle does not belong to transaction</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>4553</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>NdbLockHandle original operation not executed
+              successfully</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>4554</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>NdbBlob can only be closed from Active state</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>4555</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>AE</errortype></entry>
+            <entry><errortext>NdbBlob cannot be closed with pending operations</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>4200</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>AE</errortype></entry>

@@ -2213,6 +2294,12 @@
             <entry><errortext>Unsupported character set in table or index</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>910</errorcode></entry>
+            <entry><errorname>HA_ERR_NO_SUCH_TABLE</errorname></entry>
+            <entry><errortype>SE</errortype></entry>
+            <entry><errortext>Index is being dropped</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1224</errorcode></entry>
             <entry><errorname>HA_WRONG_CREATE_OPTION</errorname></entry>
             <entry><errortype>SE</errortype></entry>

@@ -2307,7 +2394,7 @@
             <entry><errorcode>1516</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>SE</errortype></entry>
-            <entry><errortext>File to small</errortext></entry>
+            <entry><errortext>File too small</errortext></entry>
           </row>
           <row>
             <entry><errorcode>773</errorcode></entry>

@@ -2323,6 +2410,13 @@
             <entry><errortext>Create file is not supported when Diskless=1</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>792</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>SE</errortype></entry>
+            <entry><errortext>Default value for primary key column not
+              supported</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1407</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>SE</errortype></entry>

@@ -2523,6 +2617,13 @@
               IndexMemory)</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>633</errorcode></entry>
+            <entry><errorname>HA_ERR_INDEX_FILE_FULL</errorname></entry>
+            <entry><errortype>IS</errortype></entry>
+            <entry><errortext>Table fragment hash index has reached maximum possible
+              size</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>640</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>IS</errortype></entry>

@@ -2765,6 +2866,13 @@
               FragmentLogFileSize)</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>1234</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>TR</errortype></entry>
+            <entry><errortext>REDO log files overloaded (increase disk
+              hardware)</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1222</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>TR</errortype></entry>

@@ -3669,6 +3777,30 @@
             <entry><errortext>Transaction already aborted</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>294</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>Unlocked operation has out of range index</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>295</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>Unlocked operation has invalid state</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>298</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>Invalid distribution key</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>416</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>Bad state handling unlock request</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>4731</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>IE</errortype></entry>

@@ -3693,6 +3825,18 @@
             <entry><errortext>Primary Table in wrong state</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>795</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>Out of LongMessageBuffer in DICT</errortext></entry>
+          </row>
+          <row>
+            <entry><errorcode>909</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>No free index scan op</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1502</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>IE</errortype></entry>


Modified: trunk/ndbapi/ndb-error-codes.xml
===================================================================
--- trunk/ndbapi/ndb-error-codes.xml	2011-02-15 01:31:13 UTC (rev 25108)
+++ trunk/ndbapi/ndb-error-codes.xml	2011-02-15 14:24:15 UTC (rev 25109)
Changed blocks: 3, Lines Added: 19, Lines Deleted: 0; 2019 bytes

@@ -2294,6 +2294,12 @@
             <entry><errortext>Unsupported character set in table or index</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>910</errorcode></entry>
+            <entry><errorname>HA_ERR_NO_SUCH_TABLE</errorname></entry>
+            <entry><errortype>SE</errortype></entry>
+            <entry><errortext>Index is being dropped</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1224</errorcode></entry>
             <entry><errorname>HA_WRONG_CREATE_OPTION</errorname></entry>
             <entry><errortype>SE</errortype></entry>

@@ -2860,6 +2866,13 @@
               FragmentLogFileSize)</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>1234</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>TR</errortype></entry>
+            <entry><errortext>REDO log files overloaded (increase disk
+              hardware)</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1222</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>TR</errortype></entry>

@@ -3818,6 +3831,12 @@
             <entry><errortext>Out of LongMessageBuffer in DICT</errortext></entry>
           </row>
           <row>
+            <entry><errorcode>909</errorcode></entry>
+            <entry><errorname>DMEC</errorname></entry>
+            <entry><errortype>IE</errortype></entry>
+            <entry><errortext>No free index scan op</errortext></entry>
+          </row>
+          <row>
             <entry><errorcode>1502</errorcode></entry>
             <entry><errorname>DMEC</errorname></entry>
             <entry><errortype>IE</errortype></entry>


Thread
svn commit - mysqldoc@oter02: r25109 - trunk/ndbapijon.stephens15 Feb