Hi!
On Jul 04, Georgi Kodinov wrote:
> #At file:///home/kgeorge/mysql/bzr/B37627-5.1-bugteam/
>
> 2686 Georgi Kodinov 2008-07-04
> Bug#37627: Killing query with sum(exists()) or avg(exists()) reproducibly
> crashes server
>
> On error executing an IN Subquery Item_in_exists::val_str and
> Item_in_exists::val_decimal were returning a NULL pointer
> without setting the NULL flag. Since IN subquery predicates are
since EXISTS are not supposed return NULL.
IN subqueries can.
> not supposed to return NULL values we must return 0 in such
> cases (and count on the subquery code actually setting the
> error).
ok to push.
but I suggest to rephrase the changeset comment - it's confusing and
misleading.
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect
/_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028
<___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Häring