diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-03-14 14:03:08 +0300 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-03-14 14:03:08 +0300 |
commit | 2f5a462fdd9d9b591732dd59d2037a6fbc331142 (patch) | |
tree | 12728e0091cac43a53904c33ba251914270dffa9 /mysql-test/r/blackhole_plugin.result | |
parent | 5e2c0f82c1047a95bb3bab0d784b17a24c9915d0 (diff) | |
download | mariadb-git-2f5a462fdd9d9b591732dd59d2037a6fbc331142.tar.gz |
A patch for Bug#11765297 (58251 - archive_plugin and blackhole_plugin
fails when running with ps-protocol).
The problem was that when running in --ps-protocol mode mysqltest.cc
didn't close created prepared statements. So, the plugins could not be
unistalled because there was a prepared statement using them.
A fix is to add a dummy statement that forces mysqltest.cc to close
the last prepared statement (which uses a plugin-defined table).
Diffstat (limited to 'mysql-test/r/blackhole_plugin.result')
-rw-r--r-- | mysql-test/r/blackhole_plugin.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/blackhole_plugin.result b/mysql-test/r/blackhole_plugin.result index 9fc0cacd9cc..4ef9fa0fa47 100644 --- a/mysql-test/r/blackhole_plugin.result +++ b/mysql-test/r/blackhole_plugin.result @@ -10,6 +10,9 @@ UNINSTALL PLUGIN blackhole; INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so'; CREATE TABLE t1(a int) ENGINE=BLACKHOLE; DROP TABLE t1; +SELECT 1; +1 +1 UNINSTALL PLUGIN blackhole; UNINSTALL PLUGIN blackhole; ERROR 42000: PLUGIN blackhole does not exist |