diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-09-04 12:20:53 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-09-04 12:20:53 +0500 |
commit | 643fbe4234a06e51746c8912223652a3b41fe133 (patch) | |
tree | 9f1ce478e9b8d35b3a8e3fe1a4d30d0135797c3c /include | |
parent | 6e27ef435e3863382295f1a1d41424c9b8d4c197 (diff) | |
download | mariadb-git-643fbe4234a06e51746c8912223652a3b41fe133.tar.gz |
Bug#45989 memory leak after explain encounters an error in the query
Memory allocated in TMP_TABLE_PARAM::copy_field is not cleaned up.
The fix is to clean up TMP_TABLE_PARAM::copy_field array in JOIN::destroy.
mysql-test/r/explain.result:
test result
mysql-test/t/explain.test:
test case
sql/sql_select.cc:
Memory allocated in TMP_TABLE_PARAM::copy_field is not cleaned up.
The fix is to clean up TMP_TABLE_PARAM::copy_field array in JOIN::destroy.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions