• sunanda's avatar
    Backport into build-201006221614-5.1.46sp1 · 12c4c7a0
    sunanda authored
    > ------------------------------------------------------------
    > revno: 3386
    > revision-id: sergey.glukhov@sun.com-20100518082821-yajhvbv1ghmlpu1n
    > parent: aelkin@mysql.com-20100516170332-x8priwrdjwolc065
    > committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
    > branch nick: mysql-5.1-bugteam
    > timestamp: Tue 2010-05-18 13:28:21 +0500
    > message:
    >   Bug#48729 SELECT ... FROM INFORMATION_SCHEMA.ROUTINES causes memory to grow
    >   Analysis showed that in case of accessing I_S table
    >   ROUTINES we perform unnecessary allocations
    >   with get_field() function for every processed row that
    >   in their turn causes significant memory growth.
    >   the fix is to avoid use of get_field().
    12c4c7a0
sql_show.cc 240 KB