Bug #75684 [Asn->Csd]: In mysqlnd_ext_plugin.h the plugin methods family has no external visibility

From: Date: Wed, 02 Jan 2019 10:03:39 +0000
Subject: Bug #75684 [Asn->Csd]: In mysqlnd_ext_plugin.h the plugin methods family has no external visibility
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218735@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75684&edit=1 ID: 75684 Updated by: ab@php.net Reported by: sergio dot tabanelli at gmail dot com Summary: In mysqlnd_ext_plugin.h the plugin methods family has no external visibility -Status: Assigned +Status: Closed Type: Bug Package: MySQL related Operating System: ALL PHP Version: 7.1.12 Assigned To: andrey Block user comment: N Private report: N New Comment: Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b3f8e746af83b044ff86c0d864801929b1dd1d9 Log: Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility Previous Comments: ------------------------------------------------------------------------ [2019-01-02 01:27:05] xixi dot bu at 163 dot com Hi, 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, Qianqian ------------------------------------------------------------------------ [2017-12-14 09:23:57] sergio dot tabanelli at gmail dot com Description: ------------ 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; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75684&edit=1

« previous php.bugs (#218735) next »