]> granicus.if.org Git - php/commitdiff
Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external...
authorAnatol Belski <ab@php.net>
Wed, 2 Jan 2019 09:56:35 +0000 (10:56 +0100)
committerAnatol Belski <ab@php.net>
Wed, 2 Jan 2019 10:00:33 +0000 (11:00 +0100)
NEWS
ext/mysqlnd/mysqlnd_ext_plugin.h

diff --git a/NEWS b/NEWS
index 4cdbf466f5f131d97473eebb223befe9fcb136f8..327a5d21dde4f62a2089cdd7692f51d2dbb90240 100644 (file)
--- 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)
index 7346f67209deb1d48b93383a81a30170c891b8f6..888ccc2dc00c4bf2c7864ddddb6d783efe282ece 100644 (file)
@@ -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()