diff options
author | Georgi Kodinov <kgeorge@mysql.com> | 2008-10-15 16:55:52 +0300 |
---|---|---|
committer | Georgi Kodinov <kgeorge@mysql.com> | 2008-10-15 16:55:52 +0300 |
commit | 747351836c524cb15dfb0c5ed735921ab98acb6b (patch) | |
tree | d8a9334b90fd145c59e0959ff3bbd07a79ebd936 /mysql-test/valgrind.supp | |
parent | 017307f2163a068520374b3083895e246b7a4a60 (diff) | |
download | mariadb-git-747351836c524cb15dfb0c5ed735921ab98acb6b.tar.gz |
Bug #38693: leaked memory with blobs!
If delayed insert fails to upgrade the lock it was not
freeing the temporary memory storage used to keep
newly constructed blob values in memory.
Fixed by iterating over the remaining rows in the delayed
insert rowset and freeing the blob storage for each row.
No test suite because it involves concurrent delayed inserts
on a table and cannot easily be made deterministic.
Added a correct valgrind suppression for Fedora 9.
mysql-test/valgrind.supp:
Added a vagrind suppression for Fedora 9
sql/sql_insert.cc:
Bug #38693: free the blobs temp storage on error.
Diffstat (limited to 'mysql-test/valgrind.supp')
-rw-r--r-- | mysql-test/valgrind.supp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp index e71f4541cfd..d7ac6bc6c88 100644 --- a/mysql-test/valgrind.supp +++ b/mysql-test/valgrind.supp @@ -319,6 +319,14 @@ fun:_dl_map_object } +{ + libc pthread_exit 8 + Memcheck:Leak + fun:malloc + fun:local_strdup + fun:_dl_map_object + fun:dl_open_worker +} # |