Bug #88362 debug build accepts non-debug plugins
Submitted: 4 Nov 2017 11:49 Modified: 5 Nov 2017 7:05
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7.20 OS:Any
Assigned to: CPU Architecture:Any

[4 Nov 2017 11:49] Daniël van Eeden
Description:
See also: Bug #88088

If I start mysqld-debug without changing the plugin dir to /usr/lib64/mysql/plugin/debug/ then it might try to load plugins which are for a release build instead of a debug build. This happens with plugin_load and plugin_load_add.

How to repeat:
See description.

Suggested fix:
It should recognize the incompatibility and refuse to load the plugin
[4 Nov 2017 11:55] Daniël van Eeden
Related:
Bug #88363
Bug #88361
Bug #88360
Bug #88359
[5 Nov 2017 7:05] MySQL Verification Team
Hello Daniël,

Thank you for the report and feedback.

Thanks,
Umesh