From acad1cc03c082abafc11554cfa4f801638521018 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 13 Jun 2013 14:14:47 +0200 Subject: MDEV-4573 UNINSTALL PLUGIN misleading error message for non-dynamic plugins change WARN_PLUGIN_DELETE_BUILTIN to ER_PLUGIN_DELETE_BUILTIN --- mysql-test/r/plugin.result | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mysql-test/r/plugin.result') diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result index 62864d0f16d..3b706817285 100644 --- a/mysql-test/r/plugin.result +++ b/mysql-test/r/plugin.result @@ -171,3 +171,5 @@ select 1; 1 1 UNINSTALL PLUGIN example; +UNINSTALL PLUGIN MyISAM; +ERROR HY000: Built-in plugins cannot be deleted -- cgit v1.2.1 From 1fb33e4a67918009e015967a41da6dbd65760ffa Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 13 Jun 2013 20:19:11 +0200 Subject: MDEV-4529 Assertion `tmp->state == 4' fails on mix of INSTALL SONAME / UNINSTALL PLUGIN fix incorrect assert --- mysql-test/r/plugin.result | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'mysql-test/r/plugin.result') diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result index 3b706817285..12bcf5ff68e 100644 --- a/mysql-test/r/plugin.result +++ b/mysql-test/r/plugin.result @@ -173,3 +173,22 @@ select 1; UNINSTALL PLUGIN example; UNINSTALL PLUGIN MyISAM; ERROR HY000: Built-in plugins cannot be deleted +select plugin_name from information_schema.plugins where plugin_library like 'ha_example%'; +plugin_name +install soname 'ha_example'; +select plugin_name from information_schema.plugins where plugin_library like 'ha_example%'; +plugin_name +EXAMPLE +UNUSABLE +uninstall plugin example; +select plugin_name from information_schema.plugins where plugin_library like 'ha_example%'; +plugin_name +UNUSABLE +install soname 'ha_example'; +select plugin_name from information_schema.plugins where plugin_library like 'ha_example%'; +plugin_name +EXAMPLE +UNUSABLE +uninstall soname 'ha_example'; +select plugin_name from information_schema.plugins where plugin_library like 'ha_example%'; +plugin_name -- cgit v1.2.1