From e81ecc9c72d240a1b6d9d6619f4654d412da4090 Mon Sep 17 00:00:00 2001 From: Kristian Nielsen Date: Fri, 11 Jul 2014 10:54:43 +0200 Subject: MDEV-5262, MDEV-5914, MDEV-5941, MDEV-6020: Deadlocks during parallel replication causing replication to fail. Fix a bug discovered in Buildbot valgrind. The logic in checking for slave init thread completion was reversed, so depending on thread scheduling server startup could hang. Also add another variant of SSL valgrind suppression, needed for different library version. --- mysql-test/valgrind.supp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mysql-test/valgrind.supp') diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp index 45499e5891f..f1bc19e27eb 100644 --- a/mysql-test/valgrind.supp +++ b/mysql-test/valgrind.supp @@ -1137,6 +1137,17 @@ } +{ + OpenSSL still reachable. + Memcheck:Leak + fun:*alloc + fun:CRYPTO_malloc + obj:*libssl* + fun:SSL_COMP_get_compression_methods + fun:SSL_library_init +} + + { Problem with udf and libresolve Memcheck:Cond -- cgit v1.2.1 From 9c79227c961d91da4d1cbd0e96a05291874d6b9c Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Mon, 8 Sep 2014 20:56:56 +0300 Subject: Fixed two bugs with CREATE OR REPLACE and LOCK TABLES: MDEV-6560 Assertion `! is_set() ' failed in Diagnostics_area::set_ok_status on killing CREATE OR REPLACE MDEV-6525 Assertion `table->pos_in_locked _tables == __null || table->pos_in_locked_tables->table = table' failed in mark_used_tables_as_free_for_reuse, locking problems and binlogging problems on CREATE OR REPLACE under lock. mysql-test/r/create_or_replace.result: Added test for MDEV-6560 mysql-test/t/create_or_replace.test: Added test for MDEV-6560 mysql-test/valgrind.supp: Added suppression for OpenSuse 12.3 sql/sql_base.cc: More DBUG sql/sql_class.cc: Changed that thd_sqlcom_can_generate_row_events() does not report that CREATE OR REPLACE is generating row events. This is safe as this function is only used by InnoDB/XtraDB to check if a query is generating row events as part of another transaction. As CREATE is always run as it's own transaction, this isn't a problem. This fixed MDEV-6525. sql/sql_table.cc: Remember if reopen_tables() generates an error (which can only happen in case of KILL). This fixed MDEV-6560 --- mysql-test/valgrind.supp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mysql-test/valgrind.supp') diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp index f1bc19e27eb..ca190104d79 100644 --- a/mysql-test/valgrind.supp +++ b/mysql-test/valgrind.supp @@ -412,6 +412,17 @@ fun:__libc_start_main } +# +# dl_init reports leaked memory in memalign on OpenSuse 12.3 + +{ + memory "loss" from _dl_init + Memcheck:Leak + fun:memalign + ... + fun:call_init + fun:_dl_init +} # # dlclose can allocate memory for error message, the memory will be -- cgit v1.2.1