From: jon Date: July 4 2006 1:39pm Subject: svn commit - mysqldoc@docsrva: r2618 - in trunk: ndbapi refman-common List-Archive: http://lists.mysql.com/commits/8697 Message-Id: <200607041339.k64DdPxa002967@docsrva.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Author: jstephens Date: 2006-07-04 15:39:22 +0200 (Tue, 04 Jul 2006) New Revision: 2618 Log: Documenting Cluster/NDBAPI bugfixes: Bug #20252, Bug #20442 Modified: trunk/ndbapi/ndb-classes.xml trunk/refman-common/news-5.0.xml trunk/refman-common/news-5.1.xml Modified: trunk/ndbapi/ndb-classes.xml =================================================================== --- trunk/ndbapi/ndb-classes.xml 2006-07-04 12:05:58 UTC (rev 2617) +++ trunk/ndbapi/ndb-classes.xml 2006-07-04 13:39:22 UTC (rev 2618) @@ -29308,7 +29308,8 @@ ( LockMode mode = LM_Read, Uint32 flags = 0, - Uint32 parallel = 0 + Uint32 parallel = 0, + Uint32 batch = 0 ) @@ -29320,7 +29321,7 @@ Parameters - This method takes three parameters, as shown here: + This method takes four parameters, as shown here: @@ -29348,6 +29349,25 @@ possible number be used. + + + + The batch parameter + specifies how many records will be returned to the + client from the server by the next + NdbScanOperation::nextResult(true) + method call. Use 0 to specify the + maximum automatically. + + + + + This parameter was ignored prior to MySQL 5.1.12, + and the maximum was used. (Bug #20252) + + + + @@ -30486,7 +30506,9 @@ ( LockMode mode = LM_Read, Uint32 flags = 0, - Uint32 parallel = 0 + Uint32 parallel = 0, + Uint32 batch = 0 + ) @@ -30534,6 +30556,24 @@ automatically. + + + + The batch parameter + specifies how many records will be returned to the + client from the server by the next + NdbScanOperation::nextResult(true) + method call. Use 0 to specify the + maximum automatically. + + + + + This parameter was ignored prior to MySQL + 5.1.12, and the maximum was used.(Bug #20252) + + + Modified: trunk/refman-common/news-5.0.xml =================================================================== --- trunk/refman-common/news-5.0.xml 2006-07-04 12:05:58 UTC (rev 2617) +++ trunk/refman-common/news-5.0.xml 2006-07-04 13:39:22 UTC (rev 2618) @@ -211,6 +211,31 @@ + NDB Cluster (NDB API): When multiple + processes or threads in parallel were performing a scan with + an exclusive lock, then updated only one record from the + subset cached in the client by + nextResults(true), calling + NdbIndexScanOperation::close(), + NdbTransaction::close(), or Ndb::closeTransaction() + caused a deadlock, finishing only after the + TransactionDeadlockDetectionTimeout timer + expired and the transaction coordinator aborted the + transaction. (Bug #20442) + + + + + + NDB Cluster (NDB API): + NdbScanOperation::readTuples() and + NdbIndexScanOperation::readTuples() ignored + the batch parameter. (Bug #20252) + + + + + Certain queries having a WHERE clause that included conditions on multi-part keys with more than 2 key parts could produce incorrect results and send Modified: trunk/refman-common/news-5.1.xml =================================================================== --- trunk/refman-common/news-5.1.xml 2006-07-04 12:05:58 UTC (rev 2617) +++ trunk/refman-common/news-5.1.xml 2006-07-04 13:39:22 UTC (rev 2618) @@ -344,6 +344,31 @@ + NDB Cluster (NDB API): When multiple + processes or threads in parallel were performing a scan with + an exclusive lock, then updated only one record from the + subset cached in the client by + nextResults(true), calling + NdbIndexScanOperation::close(), + NdbTransaction::close(), or Ndb::closeTransaction() + caused a deadlock, finishing only after the + TransactionDeadlockDetectionTimeout timer + expired and the transaction coordinator aborted the + transaction. (Bug #20442) + + + + + + NDB Cluster (NDB API): + NdbScanOperation::readTuples() and + NdbIndexScanOperation::readTuples() ignored + the batch parameter. (Bug #20252) + + + + + NDB Cluster: Cluster system status variables were not updated. (Bug #11459)