Skip to content

Commit

Permalink
Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family ha…
Browse files Browse the repository at this point in the history
…s no external visibility
  • Loading branch information
weltling committed Jan 2, 2019
1 parent 8ebae84 commit 7b3f8e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions ext/mysqlnd/mysqlnd_ext_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 7b3f8e7

Please sign in to comment.