MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:June 27 2006 3:28pm
Subject:bk commit into 5.1 tree (stewart:1.2219) BUG#20725
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of stewart. When stewart does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2219 06/06/28 01:28:07 stewart@stripped +1 -0
  BUG#20725 MySQLD cluster use "fast count" is broken
  
  fix based on review by tomas.
  
  conform to bug we haven't fixed yet.

  sql/ha_ndbcluster.cc
    1.337 06/06/28 01:27:48 stewart@stripped +7 -0
    return -1 on error in ::records().
    
    produces a compiler warning, a bug and is evil.
    
    however, until we go and really fix the bug properly, it's best to conform

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/5.1/bug20725

--- 1.336/sql/ha_ndbcluster.cc	2006-06-28 01:07:17 +10:00
+++ 1.337/sql/ha_ndbcluster.cc	2006-06-28 01:27:48 +10:00
@@ -430,6 +430,13 @@
   {
     retval= stat.row_count;
   }
+  else
+  {
+    /**
+     * Be consistent with BUG#19914 until we fix it properly
+     */
+    DBUG_RETURN(-1);
+  }
 
   THD *thd= current_thd;
   if (get_thd_ndb(thd)->error)
Thread
bk commit into 5.1 tree (stewart:1.2219) BUG#20725Stewart Smith27 Jun