diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-05-18 13:28:21 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-05-18 13:28:21 +0500 |
commit | 36be33b0ad829732b76d87f6d618546014fd96de (patch) | |
tree | 0f8848c8b69fabecda2c3be3d07125a76c04194b /sql/sql_prepare.cc | |
parent | 59b4dfccb50d2c6ebadd5de0da334124d13db0b6 (diff) | |
download | mariadb-git-36be33b0ad829732b76d87f6d618546014fd96de.tar.gz |
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().
sql/sql_show.cc:
Functions store_schema_proc() are changed
to avoid use of get_field() function.
Diffstat (limited to 'sql/sql_prepare.cc')
0 files changed, 0 insertions, 0 deletions