summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/buf0buf.ic
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-06-23 14:00:24 +0200
committerunknown <knielsen@knielsen-hq.org>2009-06-23 14:00:24 +0200
commite84748406cac825127279a16482756539267ec17 (patch)
treeb2d0471dcbf0dd79682803579827e824a2b211a4 /storage/xtradb/include/buf0buf.ic
parent7c5e321bb8a4ac0a1683447434a5cfe06452a0f9 (diff)
downloadmariadb-git-e84748406cac825127279a16482756539267ec17.tar.gz
Fix memory leak in mysql_ssl_set() when called more than once.
Fix sleep() synchronisation in innodb_information_schema test case. mysql-test/t/innodb_information_schema.test: Using sleep for synchronisation does not work!!! Replace by looping until the required condition is met. sql-common/client.c: mysql_ssl_set() did not free old pointers before overwriting with new ones (happens when mysql_ssl_set() is called twice without calling mysql_close() in-between). This sometimes caused memory leaks in the slave depending on exact timing of master/slave shutdown. Fixed by freeing old pointers before installing new ones in mysql_ssl_set(), just like mysql_options() does.
Diffstat (limited to 'storage/xtradb/include/buf0buf.ic')
0 files changed, 0 insertions, 0 deletions