summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2010-04-16 10:30:53 +0300
committerGeorgi Kodinov <joro@sun.com>2010-04-16 10:30:53 +0300
commit16fadb10b5d2a9328b5caa85963a3d851b35cef4 (patch)
treec7fdf45e1aaf6ac06c19494c1e92d2b217c65b15 /sql/item_cmpfunc.h
parent8fa9a5861bb0bf2a077e5b596456081da0f15dbe (diff)
downloadmariadb-git-16fadb10b5d2a9328b5caa85963a3d851b35cef4.tar.gz
Bug #52629: memory leak from sys_var_thd_dbug in binlog.binlog_write_error
When re-setting (SET GLOBAL debug='') the GLOBAL debug settings the server was not freeing the data elements from the top (initial) frame before setting them to 0 without freeing the underlying memory. As these are global settings there's a chance that something is there already. Fixed by : 1. making sure the allocated data are cleaned up before re-setting them while parsing a debug string 2. making sure the stuff allocated in the global settings is freed on shutdown.
Diffstat (limited to 'sql/item_cmpfunc.h')
0 files changed, 0 insertions, 0 deletions