• MySQL Build Team's avatar
    Backport into build-200909301147-5.0.84sp1 · 51d041e6
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 2796
    > revision-id: sergey.glukhov@sun.com-20090827102219-sgjz0v5t1rfccs14
    > parent: joro@sun.com-20090824122803-1d5jlaysjc7a7j6q
    > committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
    > branch nick: mysql-5.0-bugteam
    > timestamp: Thu 2009-08-27 15:22:19 +0500
    > message:
    >   Bug#46184 Crash, SELECT ... FROM derived table procedure analyze
    >   The crash happens because select_union object is used as result set
    >   for queries which have derived tables.
    >   select_union use temporary table as data storage and if
    >   fields count exceeds 10(count of values for procedure ANALYSE())
    >   then we get a crash on fill_record() function.
    51d041e6
subselect.result 156 KB