List:Commits« Previous MessageNext Message »
From:Guilhem Bichot Date:January 17 2011 8:41pm
Subject:Re: bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3253)
WL#5741
View as plain text  
Hello,

Jorgen Loland a écrit, Le 14.01.2011 16:53:
> #At
> file:///export/home/jl208045/mysql/wl4800/mysql-next-mr-opt-backporting-wl4800-range-subselect/
> based on revid:jorgen.loland@stripped
> 
>  3253 Jorgen Loland	2011-01-14
>       WL#5741: Add optimizer tracing to subqueries
>       
>       * Fix review comments by Guilhem
>       * Update copyright notice.

> === modified file 'sql/opt_range.h'
> --- a/sql/opt_range.h	2011-01-03 13:10:02 +0000
> +++ b/sql/opt_range.h	2011-01-14 15:53:48 +0000
> @@ -1,4 +1,4 @@
> -/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
> +/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
>  
>     This program is free software; you can redistribute it and/or modify
>     it under the terms of the GNU General Public License as published by
> @@ -856,6 +856,14 @@ class SQL_SELECT :public Sql_alloc {
>    table_map const_tables,read_tables;
>    bool	free_cond;
>  
> +  /** 
> +      Used by optimizer tracing if this is a subquery: Whether or not

Do you really mean "subquery"? for DYNAMIC_RANGE?

> +      execution of this subselect has been traced by optimizer tracing

subselect?

> +      already. If optimizer trace option DYNAMIC_RANGE is disabled,
> +      this is used to disable tracing after the first one.
> +  */
> +  bool traced_before;
> +
>    SQL_SELECT();
>    ~SQL_SELECT();
>    void cleanup();
> 

Thread
bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3253) WL#5741Jorgen Loland14 Jan
  • Re: bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3253)WL#5741Guilhem Bichot17 Jan
    • Re: bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3253)WL#5741Jorgen Loland18 Jan
      • Re: bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3253)WL#5741Guilhem Bichot18 Jan