mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
This commit is contained in:
parent
5e8bcbb08a
commit
845d8fa10c
26 changed files with 430 additions and 406 deletions
|
@ -147,6 +147,7 @@ PHPAPI enum_func_status _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQ
|
|||
#define mysqlnd_get_host_info(conn) (conn)->m->get_host_information((conn) TSRMLS_CC)
|
||||
#define mysqlnd_get_proto_info(conn) (conn)->m->get_protocol_information((conn) TSRMLS_CC)
|
||||
#define mysqlnd_thread_id(conn) (conn)->m->get_thread_id((conn) TSRMLS_CC)
|
||||
#define mysqlnd_get_server_status(conn) (conn)->m->get_server_status((conn) TSRMLS_CC)
|
||||
|
||||
#define mysqlnd_num_rows(result) (result)->m.num_rows((result) TSRMLS_CC)
|
||||
#define mysqlnd_num_fields(result) (result)->m.num_fields((result) TSRMLS_CC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue