summaryrefslogtreecommitdiff
path: root/mysql-test/r/blackhole_plugin.result
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2011-03-14 14:03:08 +0300
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2011-03-14 14:03:08 +0300
commit2f5a462fdd9d9b591732dd59d2037a6fbc331142 (patch)
tree12728e0091cac43a53904c33ba251914270dffa9 /mysql-test/r/blackhole_plugin.result
parent5e2c0f82c1047a95bb3bab0d784b17a24c9915d0 (diff)
downloadmariadb-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.result3
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