Skip to content

Commit 7b3f8e7

Browse files
committed
Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility
1 parent 8ebae84 commit 7b3f8e7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ PHP NEWS
55
- GD:
66
. Fixed bug #77391 (1bpp BMPs may fail to be loaded). (Romain Déoux, cmb)
77

8+
- MySQLnd:
9+
. Fixed bug #75684 (In mysqlnd_ext_plugin.h the plugin methods family has
10+
no external visibility). (Anatol)
11+
812
- Sockets:
913
. Fixed bug #76839 (socket_recvfrom may return an invalid 'from' address
1014
on MacOS). (Michael Meyer)

ext/mysqlnd/mysqlnd_ext_plugin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct st_mysqlnd_plugin__plugin_area_getters
3535
void ** (*get_vio_area)(const MYSQLND_VIO * vio, const unsigned int plugin_id);
3636
};
3737

38-
extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters;
38+
PHPAPI extern struct st_mysqlnd_plugin__plugin_area_getters mysqlnd_plugin_area_getters;
3939

4040
#define mysqlnd_plugin_get_plugin_connection_data(c, p_id) mysqlnd_plugin_area_getters.get_connection_area((c), (p_id))
4141
#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
124124
} command_factory;
125125
};
126126

127-
extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters;
127+
PHPAPI extern struct st_mysqlnd_plugin_methods_xetters mysqlnd_plugin_methods_xetters;
128128

129129

130130
#define mysqlnd_object_factory_get_methods() mysqlnd_plugin_methods_xetters.object_factory.get()

0 commit comments

Comments
 (0)