summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/innodb_uninstall.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/r/innodb_uninstall.result')
-rw-r--r--mysql-test/suite/innodb/r/innodb_uninstall.result34
1 files changed, 34 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/innodb_uninstall.result b/mysql-test/suite/innodb/r/innodb_uninstall.result
new file mode 100644
index 00000000..40c76b41
--- /dev/null
+++ b/mysql-test/suite/innodb/r/innodb_uninstall.result
@@ -0,0 +1,34 @@
+install plugin innodb soname 'ha_innodb';
+create table t1(a int not null primary key) engine=innodb;
+connect con1, localhost, root;
+connection con1;
+begin;
+insert into t1 values(1);
+connection default;
+flush tables;
+uninstall plugin innodb;
+connection con1;
+select sleep(1);
+sleep(1)
+0
+disconnect con1;
+connection default;
+Warnings:
+Warning 1620 Plugin is busy and will be uninstalled on shutdown
+connect con1, localhost, root;
+connection con1;
+install plugin innodb soname 'ha_innodb';
+drop table t1;
+create table t2(a int not null primary key) engine=innodb;
+insert into t2 values(1);
+drop table t2;
+connection default;
+uninstall plugin innodb;
+connection con1;
+select sleep(1);
+sleep(1)
+0
+disconnect con1;
+connection default;
+Warnings:
+Warning 1620 Plugin is busy and will be uninstalled on shutdown