Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
10.6, 10.11, 11.4, 11.8, 12.0(EOL), 12.1
-
None
-
Not for Release Notes
Description
INSTALL PLUGIN server_audit SONAME 'server_audit'; |
SHOW GLOBAL STATUS LIKE 'Server_audit_active'; # Shows audit plug is not active |
UNINSTALL PLUGIN server_audit; # Incorrect warning: 1620, Plugin is busy and will be uninstalled on shutdown |
SHOW WARNINGS;
|
SHOW GLOBAL STATUS LIKE '%audit%'; # Shows plugin is already gone |
UNINSTALL PLUGIN server_audit; # ERROR 1305 (42000): PLUGIN server_audit does not exist |
Leads to:
CS 10.6.22 643319a7fb1e273797c2a1e46d76cfac0fa1da8f (Optimized) Build 06/06/2025 |
10.6.22-opt>INSTALL PLUGIN server_audit SONAME 'server_audit';
|
Query OK, 0 rows affected (0.001 sec)
|
|
10.6.22-opt>SHOW GLOBAL STATUS LIKE 'Server_audit_active'; # Shows audit plug is not active
|
+---------------------+-------+
|
| Variable_name | Value |
|
+---------------------+-------+
|
| Server_audit_active | OFF |
|
+---------------------+-------+
|
1 row in set (0.000 sec)
|
|
10.6.22-opt>UNINSTALL PLUGIN server_audit; # Incorrect warning: 1620, Plugin is busy and will be uninstalled on shutdown
|
Query OK, 0 rows affected, 1 warning (0.001 sec)
|
|
10.6.22-opt>SHOW WARNINGS;
|
+---------+------+----------------------------------------------------+
|
| Level | Code | Message |
|
+---------+------+----------------------------------------------------+
|
| Warning | 1620 | Plugin is busy and will be uninstalled on shutdown |
|
+---------+------+----------------------------------------------------+
|
1 row in set (0.000 sec)
|
|
10.6.22-opt>SHOW GLOBAL STATUS LIKE '%audit%'; # Shows plugin is already gone
|
Empty set (0.000 sec)
|
|
10.6.22-opt>UNINSTALL PLUGIN server_audit; # ERROR 1305 (42000): PLUGIN server_audit does not exist
|
ERROR 1305 (42000): PLUGIN server_audit does not exist
|
So neither was the plugin busy (Server_audit_active=OFF) nor was it unloaded upon shutdown (was unloaded immediately).