• MySQL Build Team's avatar
    Backport into build-201002030816-5.0.87sp1 · 1083c852
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 2818.1.13
    > revision-id: joro@sun.com-20091030131543-2b23fnqckgbzvete
    > parent: joro@sun.com-20091030094044-quadg0bwjy7cwqzw
    > committer: Georgi Kodinov <joro@sun.com>
    > branch nick: B48291-5.0-bugteam
    > timestamp: Fri 2009-10-30 15:15:43 +0200
    > message:
    >   Bug #48291 : crash with row() operator,select into @var, and 
    >     subquery returning multiple rows
    >   
    >   Error handling was missing when handling subqueires in WHERE 
    >   and when assigning a SELECT result to a @variable.
    >   This caused crash(es). 
    >   
    >   Fixed by adding error handling code to both the WHERE 
    >   condition evaluation and to assignment to an @variable.
    1083c852
sql_select.cc 505 KB