| 1 |
install plugin innodb soname 'ha_innodb'; |
| 2 |
create table t1(a int not null primary key) engine=innodb; |
| 3 |
connect con1, localhost, root; |
| 4 |
connection con1; |
| 5 |
begin; |
| 6 |
insert into t1 values(1); |
| 7 |
connection default; |
| 8 |
flush tables; |
| 9 |
uninstall plugin innodb; |
| 10 |
connection con1; |
| 11 |
select sleep(1); |
| 12 |
sleep(1) |
| 13 |
0 |
| 14 |
disconnect con1; |
| 15 |
connection default; |
| 16 |
Warnings: |
| 17 |
Warning 1620 Plugin is busy and will be uninstalled on shutdown |
| 18 |
connect con1, localhost, root; |
| 19 |
connection con1; |
| 20 |
install plugin innodb soname 'ha_innodb'; |
| 21 |
drop table t1; |
| 22 |
create table t2(a int not null primary key) engine=innodb; |
| 23 |
insert into t2 values(1); |
| 24 |
drop table t2; |
| 25 |
connection default; |
| 26 |
uninstall plugin innodb; |
| 27 |
connection con1; |
| 28 |
select sleep(1); |
| 29 |
sleep(1) |
| 30 |
0 |
| 31 |
disconnect con1; |
| 32 |
connection default; |
| 33 |
Warnings: |
| 34 |
Warning 1620 Plugin is busy and will be uninstalled on shutdown |