• MySQL Build Team's avatar
    Backport into build-200911241145-5.1.40sp1 · edabd315
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 1810.3961.6
    > revision-id: joro@sun.com-20091030094044-quadg0bwjy7cwqzw
    > parent: joro@sun.com-20091029152429-ks55fhrp4lhknyij
    > committer: Georgi Kodinov <joro@sun.com>
    > branch nick: B48293-5.0-bugteam
    > timestamp: Fri 2009-10-30 11:40:44 +0200
    > message:
    >   Bug #48293: crash with procedure analyse, view with > 10 columns,
    >   having clause...
    >   
    >   The fix for bug 46184 was not very complete. It was not covering
    >   views using temporary tables and multiple tables in a FROM clause.
    >   Fixed by reverting the fix for 46184 and making a more general
    >   check that is checking at the right execution stage and for all
    >   of the non-supported cases.
    >   Now PROCEDURE ANALYZE on non-top level SELECT is also forbidden.
    >   Updated the analyse.test and subselect.test accordingly.
    edabd315
subselect.result 160 KB