|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility
Submitted: 2017-12-14 09:23 UTC Modified: 2019-01-02 08:57 UTC
From: sergio dot tabanelli at gmail dot com Assigned: andrey (profile)
Status: Closed Package: MySQL related
PHP Version: 7.1.12 OS: ALL
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sergio dot tabanelli at gmail dot com
New email:
PHP Version: OS:


 [2017-12-14 09:23 UTC] sergio dot tabanelli at gmail dot com
All PHP > 7.1 versions has following declarations in ext/mysqlnd/mysqlnd_ext_plugin.h:

extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters;
extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters;

but these lack external visibility for myslnd plugin extensions, so any call to the  mysqlnd_plugin_get_* and mysqlnd_*_get/set methods leads to "undefined symbol".

Declarations should be changed to:

PHPAPI extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters;
PHPAPI extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-01-02 01:27 UTC] xixi dot bu at 163 dot com

This bug has been opened for more than one year, may I ask what is the status now? I also enter the same problem, may I ask is there any plan to fix it? 

Happy New Year,
 [2019-01-02 08:57 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: andrey
 [2019-01-02 10:03 UTC]
Automatic comment on behalf of ab
Log: Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility
 [2019-01-02 10:03 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Oct 02 02:01:25 2023 UTC