Bug #79754 uninstall plugin warning

Submitted: 23 Dec 2015 8:53 Modified: 29 Dec 2015 3:07
Reporter: yx jiang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:5.6.21, 5.6.28 OS:CentOS (64)
Assigned to: CPU Architecture:Any

[23 Dec 2015 8:53] yx jiang
Description:
function mysql_uninstall_plugin calling mysql_audit_acquire_plugins will cause plugin's ref_count added by 1.

the following code seems to be true

if (plugin->ref_count)
    push_warning(thd, Sql_condition::WARN_LEVEL_WARN,
                 WARN_PLUGIN_BUSY, ER(WARN_PLUGIN_BUSY));

so warning will be generated when uninstall plugin

How to repeat:
install/uninstall a customer audit plugin

Suggested fix:
n/a
[23 Dec 2015 9:31] MySQL Verification Team
Hello jiang,

Thank you for the report.
I'm not sure whether this is intended behavior but observed this with 5.6.28 build.

Thanks,
Umesh
[29 Dec 2015 1:50] zhai weixiang
duplicate of bug#72217 ?
[29 Dec 2015 3:07] yx jiang
i believe this is the root cause of bug #72217

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.