summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/t/false_dupes-6543.test
blob: ebdbe00e47c80c32e5f1b34b44653f6548bbbb25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#    MDEV-6543 Crash if enable 'federatedx' when 'federated' plugin already enabled, and vice-versa
#
if(!$HA_FEDERATED_SO) {
  skip Needs ha_federated.so;
}
if(!$HA_FEDERATEDX_SO) {
  skip Needs ha_federatedx.so;
}

install soname 'ha_federated';
# note: no error below! install soname ignores already loaded plugins
install soname 'ha_federated';
# note: an error here, even though plugin name is the same!
--error ER_UDF_EXISTS
install soname 'ha_federatedx';
uninstall soname 'ha_federated';