|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
30 - 4 = ?
Subscribe to this entry?

 [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: Fri Sep 22 15:01:24 2023 UTC