On Nov 9, 2009, at 5:02 AM, Martin Hansson wrote:
> Georgi Kodinov skrev:
>> #At file:///home/kgeorge/mysql/work/B48458-5.0-bugteam/ based on
>> revid:joro@stripped
>>
>> 2840 Georgi Kodinov 2009-11-05
>> Bug #48458: simple query tries to allocate enormous amount of
>> memory
>> The server was doing a bad class typecast causing
>> setting of wrong value for the maximum number of items in an
>> internal
>> structure used in equality propagation.
>> Fixed by not doing the wrong typecast and asserting the type
>> of the Item where it should be done.
>>
> Ok, I may have understood this completely backwards, but could you
> say that the following is true: Previously the equality propagation
> procedure assumed that an expression over ROW functions, e.g. ROW
> (...) <op> ROW(...) wronfully assumed the operator to be '='?
>
> If this is not the case, I need to shape up. :-)
>
> If this is that case, I think that would be good to include this in
> the cset comment since it's 1) on a higher level 2) It's much more
> likely paul will not bug you to clarify it later :-)
Don't make me come hurt you! :-)
--
Paul DuBois
Sun Microsystems / MySQL Documentation Team
Madison, Wisconsin, USA
www.mysql.com