List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:September 13 2010 7:08am
Subject:Re: bzr commit into mysql-5.1-bugteam branch (martin.hansson:3505) Bug#50394
View as plain text  
2010/9/10 Martin Hansson <martin.hansson@stripped>

>  Øystein Grøvlen skrev 2010-09-10 17.28:
>
>  Martin,
>>
>> Approved, but I suggest that you add a comment in the code as to why you
>> set limit to 0.
>>
> Did you look at the comment above JOIN_TAB::limit?
>
> /Martin
>
>
limit is only used for DESCRIBE, so I suggest

      if (select_options & SELECT_DESCRIBE)
        join_tab[const_tables].limit=0;

That could work as the comment requested by øystein

-- didrik


> --
> MySQL Code Commits Mailing List
> For list archives: http://lists.mysql.com/commits
> To unsubscribe:
> http://lists.mysql.com/commits?unsub=1
>
>

Thread
bzr commit into mysql-5.1-bugteam branch (martin.hansson:3505) Bug#50394Martin Hansson10 Sep
  • Re: bzr commit into mysql-5.1-bugteam branch (martin.hansson:3505)Bug#50394Øystein Grøvlen10 Sep
    • Re: bzr commit into mysql-5.1-bugteam branch (martin.hansson:3505)Bug#50394Martin Hansson10 Sep
      • Re: bzr commit into mysql-5.1-bugteam branch (martin.hansson:3505) Bug#50394Tor Didriksen13 Sep