Bug #88363 Default plugin_dir should be different for debug build
Submitted: 4 Nov 2017 11:52 Modified: 15 Nov 2017 17:28
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.7.20 OS:Any
Assigned to: Terje Røsten CPU Architecture:Any

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

The default plugin_dir of a debug build (mysqld-debug from the rpm) points to the non-debug version of the plugins

How to repeat:
Try to use plugins with a debug build.

Suggested fix:

Please make /usr/lib64/mysql/plugin/debug/ the default plugin_dir for mysqld-debug instead of /usr/lib64/mysql/plugin/
[4 Nov 2017 11:55] Daniël van Eeden
Related:
Bug #88362
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
[5 Nov 2017 14:05] Terje Røsten
Hi Daniël!

Seems like the logic for building and installing mysqld-debug and debug versions of plugins are not sane at the moment. Need to re-think how this is done.

A goal must be for mysqld-debug to work out of box, no special config for plugin dir or anything else required.

Thanks for your feedback.
[15 Nov 2017 17:28] Paul DuBois
Posted by developer:
 
Fixed in 5.5.59, 5.6.39, 5.7.21, 8.0.4, 9.0.0.

For RHEL, SLES, and Fedora RPMs, the default plugin directory for
debug builds has been changed from /usr/lib64/mysql/plugin to
/usr/lib64/mysql/plugin/debug.
[22 Nov 2017 20:47] Philip Olson
This was also documented via Bug #88359