mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
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.
This commit is contained in:
parent
017307f216
commit
747351836c
2 changed files with 13 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue