From: Anatol Belski Date: Wed, 2 Jan 2019 09:56:35 +0000 (+0100) Subject: Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external... X-Git-Tag: php-7.3.2RC1~62^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b3f8e746af83b044ff86c0d864801929b1dd1d9;p=php Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility --- diff --git a/NEWS b/NEWS index 4cdbf466f5..327a5d21dd 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,10 @@ PHP NEWS - GD: . Fixed bug #77391 (1bpp BMPs may fail to be loaded). (Romain Déoux, cmb) +- MySQLnd: + . Fixed bug #75684 (In mysqlnd_ext_plugin.h the plugin methods family has + no external visibility). (Anatol) + - Sockets: . Fixed bug #76839 (socket_recvfrom may return an invalid 'from' address on MacOS). (Michael Meyer) diff --git a/ext/mysqlnd/mysqlnd_ext_plugin.h b/ext/mysqlnd/mysqlnd_ext_plugin.h index 7346f67209..888ccc2dc0 100644 --- a/ext/mysqlnd/mysqlnd_ext_plugin.h +++ b/ext/mysqlnd/mysqlnd_ext_plugin.h @@ -35,7 +35,7 @@ struct st_mysqlnd_plugin__plugin_area_getters void ** (*get_vio_area)(const MYSQLND_VIO * vio, const unsigned int plugin_id); }; -extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters; +PHPAPI extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters; #define mysqlnd_plugin_get_plugin_connection_data(c, p_id) mysqlnd_plugin_area_getters.get_connection_area((c), (p_id)) #define mysqlnd_plugin_get_plugin_connection_data_data(c, p_id) mysqlnd_plugin_area_getters.get_connection_data_area((c), (p_id)) @@ -124,7 +124,7 @@ struct st_mysqlnd_plugin_methods_xetters } command_factory; }; -extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters; +PHPAPI extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters; #define mysqlnd_object_factory_get_methods() mysqlnd_plugin_methods_xetters.object_factory.get()