summaryrefslogtreecommitdiff
path: root/mysql-test/t/plugin.test
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com/june.mysql.com>2007-05-21 17:48:29 +0500
committerunknown <svoj@mysql.com/june.mysql.com>2007-05-21 17:48:29 +0500
commit7e945ae8cabf773bae505aa5d8db2c73423ffe94 (patch)
treeed91ed4659757b2e10ad14b8e5932de768ada3a5 /mysql-test/t/plugin.test
parent1fcfa942998f30c9629f9c967c91bd7efaff2236 (diff)
downloadmariadb-git-7e945ae8cabf773bae505aa5d8db2c73423ffe94.tar.gz
BUG#25659 - memory leak via "plugins" test
- Added suppressions for dlopen to make plugin test pass. - Do not pass empty string to mysqld, since my_getopt is not capable to handle it. - Re-enabled trailing UNINSTALL PLUGIN statement of plugin.test. The memory leak described in the bug report happens in libdl, not in mysqld. On some valgrind installations this error is suppressed by default, no idea why it isn't suppressed on pb-valgrind. <observation> If library remains open after thread has finished, and is closed by another thread, we get memory leak. But in case library is opened and closed by the same thread no leak occurs. </observation> mysql-test/lib/mtr_io.pl: Do not pass empty string since my_getopt is not capable to handle it. This is required to make plugin.test work on platforms where ha_example is not compiled. mysql-test/r/plugin.result: Updated test result. mysql-test/t/plugin.test: Re-enabled UNINSTALL PLUGIN statement. It is a good idea to cleanup at the end of the test. Anyway bug22694 was fixed while this test was disabled. mysql-test/valgrind.supp: Added suppressions for dlopen to make plugin test pass.
Diffstat (limited to 'mysql-test/t/plugin.test')
-rw-r--r--mysql-test/t/plugin.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/plugin.test b/mysql-test/t/plugin.test
index 80c1de00b8e..fb6d5febe45 100644
--- a/mysql-test/t/plugin.test
+++ b/mysql-test/t/plugin.test
@@ -18,9 +18,9 @@ SELECT * FROM t1;
DROP TABLE t1;
-# Waiting for fix to BUG#22694
-#UNINSTALL PLUGIN example;
-#UNINSTALL PLUGIN EXAMPLE;
+UNINSTALL PLUGIN example;
+--error 1305
+UNINSTALL PLUGIN EXAMPLE;
--error 1305
UNINSTALL PLUGIN non_exist;