List:Commits« Previous MessageNext Message »
From:Jorgen Loland Date:January 18 2011 3:19pm
Subject:bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3259) WL#5594
View as plain text  
#At file:///export/home/jl208045/mysql/wl4800/mysql-next-mr-opt-backporting-wl4800-range-subselect/ based on revid:jorgen.loland@stripped

 3259 Jorgen Loland	2011-01-18
      WL#5594: Add optimizer traces to the range optimizer
      
      Review comments: fix documentation for SQL_SELECT::traced_before 

    modified:
      sql/opt_range.h
=== modified file 'sql/opt_range.h'
--- a/sql/opt_range.h	2011-01-14 15:53:48 +0000
+++ b/sql/opt_range.h	2011-01-18 15:19:19 +0000
@@ -857,10 +857,13 @@ class SQL_SELECT :public Sql_alloc {
   bool	free_cond;
 
   /** 
-      Used by optimizer tracing if this is a subquery: Whether or not
-      execution of this subselect has been traced by optimizer tracing
-      already. If optimizer trace option DYNAMIC_RANGE is disabled,
-      this is used to disable tracing after the first one.
+    Used for QS_DYNAMIC_RANGE, i.e., "Range checked for each record".
+    Used by optimizer tracing to decide whether or not dynamic range
+    analysis of this select has been traced already. If optimizer
+    trace option DYNAMIC_RANGE is enabled, range analysis will be
+    traced with different ranges for every record to the left of this
+    table in the join. If disabled, range analysis will only be traced
+    for the first range.
   */
   bool traced_before;
 


Attachment: [text/bzr-bundle] bzr/jorgen.loland@oracle.com-20110118151919-es64bzmnv3kj27o2.bundle
Thread
bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3259) WL#5594Jorgen Loland18 Jan