List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:April 3 2007 8:14pm
Subject:bk commit into 5.2 tree (sergefp:1.2481)
View as plain text  
Below is the list of changes that have just been committed into a local
5.2 repository of psergey. When psergey 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@stripped, 2007-04-03 18:13:05+04:00, sergefp@stripped +1 -0
  s/0.0001/DBL_EPSILON/

  sql/sql_select.cc@stripped, 2007-04-03 18:13:00+04:00, sergefp@stripped +1 -4
    s/0.0001/DBL_EPSILON/

# 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:	sergefp
# Host:	pylon64.mylan
# Root:	/home/psergey/mysql-5.2-opt-fix

--- 1.500/sql/sql_select.cc	2007-04-03 18:13:12 +04:00
+++ 1.501/sql/sql_select.cc	2007-04-03 18:13:12 +04:00
@@ -5113,11 +5113,8 @@
           non-trivial code and add overhead. 2. The value of records_read
           is an inprecise estimate and adding 1 (or, in the worst case,
           #max_nested_outer_joins=64-1) will not make it any more precise.
-
-        - Actually we either have records_read=0.0 or records_read > 1.0. We
-          compare with 0.0001 to avoid valgrind failures on x64.
       */
-      if (pos->records_read > 0.0001)
+      if (pos->records_read > DBL_EPSILON)
         found*= pos->records_read;
     }
   }
Thread
bk commit into 5.2 tree (sergefp:1.2481)Sergey Petrunia3 Apr