Author: js221926
Date: 2011-04-27 16:22:45 +0200 (Wed, 27 Apr 2011)
New Revision: 26034
Log:
Added new API error codes
Modified:
trunk/ndbapi/ndb-error-codes.xml
Modified: trunk/ndbapi/ndb-error-codes.xml
===================================================================
--- trunk/ndbapi/ndb-error-codes.xml 2011-04-27 14:16:36 UTC (rev 26033)
+++ trunk/ndbapi/ndb-error-codes.xml 2011-04-27 14:22:45 UTC (rev 26034)
Changed blocks: 2, Lines Added: 167, Lines Deleted: 0; 9172 bytes
@@ -1812,6 +1812,167 @@
and numExtraGetValues</errortext></entry>
</row>
<row>
+ <entry><errorcode>QRY_REQ_ARG_IS_NULL</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Required argument is NULL</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_TOO_FEW_KEY_VALUES</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>All required 'key' values was not specified</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_TOO_MANY_KEY_VALUES</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Too many 'key' or 'bound' values was specified</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_OPERAND_HAS_WRONG_TYPE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Incompatible datatype specified in operand
+ argument</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_CHAR_OPERAND_TRUNCATED</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Character operand was right truncated</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_NUM_OPERAND_RANGE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Numeric operand out of range</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_MULTIPLE_PARENTS</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Multiple 'parents' specified in linkedValues for this
+ operation</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_UNKONWN_PARENT</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Unknown 'parent' specified in linkedValue</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_UNKNOWN_COLUMN</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Unknown 'column' specified in linkedValue</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_UNRELATED_INDEX</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Specified 'index' does not belong to specified
+ 'table'</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_WRONG_INDEX_TYPE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Wrong type of index specified for this operation</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_OPERAND_ALREADY_BOUND</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Can't use same operand value to specify different column
+ values</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_DEFINITION_TOO_LARGE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Query definition too large.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_RESULT_ROW_ALREADY_DEFINED</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Result row already defined for NdbQueryOperation.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_HAS_ZERO_OPERATIONS</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Query defintion should have at least one
+ operation.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_IN_ERROR_STATE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>A previous query operation failed, which you missed to
+ catch.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_ILLEGAL_STATE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Query is in illegal state for this operation.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_WRONG_OPERATION_TYPE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>This method cannot be invoked on this type of operation
+ (lookup/scan/""index scan).</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_SCAN_ORDER_ALREADY_SET</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Index scan order was already set in query
+ definition.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_PARAMETER_HAS_WRONG_TYPE</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Parameter value has an incompatible datatype</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_CHAR_PARAMETER_TRUNCATED</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Character Parameter was right truncated</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_MULTIPLE_SCAN_BRANCHES</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Query has scans that are not descendants/ancestors of each
+ other.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_MULTIPLE_SCAN_SORTED</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Query with multiple scans may not be sorted.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_SEQUENTIAL_SCAN_SORTED</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Parallelism cannot be restricted for sorted
+ scans.</errortext></entry>
+ </row>
+ <row>
+ <entry><errorcode>QRY_BATCH_SIZE_TOO_SMALL</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>AE</errortype></entry>
+ <entry><errortext>Batch size for sub scan cannot be smaller than number of
+ fragments.</errortext></entry>
+ </row>
+ <row>
<entry><errorcode>NO_CONTACT_WITH_PROCESS</errorcode></entry>
<entry><errorname>DMEC</errorname></entry>
<entry><errortype>AE</errortype></entry>
@@ -3127,6 +3288,12 @@
<entry><errortext>Simple/dirty read failed due to node failure</errortext></entry>
</row>
<row>
+ <entry><errorcode>20016</errorcode></entry>
+ <entry><errorname>DMEC</errorname></entry>
+ <entry><errortype>NR</errortype></entry>
+ <entry><errortext>Query aborted due to node failure</errortext></entry>
+ </row>
+ <row>
<entry><errorcode>786</errorcode></entry>
<entry><errorname>DMEC</errorname></entry>
<entry><errortype>NR</errortype></entry>
| Thread |
|---|
| • svn commit - mysqldoc@oter02: r26034 - trunk/ndbapi | jon.stephens | 27 Apr |