mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MNDR:
- decouple the commands from the connection. CONN ist passed now only in 1 case
This commit is contained in:
parent
5abee1948e
commit
baab519ae5
3 changed files with 233 additions and 113 deletions
|
@ -59,10 +59,17 @@ typedef struct st_mysqlnd_packet_methods {
|
|||
|
||||
typedef struct st_mysqlnd_packet_header {
|
||||
size_t size;
|
||||
mysqlnd_packet_methods *m;
|
||||
MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * factory;
|
||||
zend_uchar packet_no;
|
||||
zend_bool persistent;
|
||||
|
||||
mysqlnd_packet_methods *m;
|
||||
|
||||
MYSQLND_CONN_DATA * conn;
|
||||
MYSQLND_NET * net;
|
||||
MYSQLND_ERROR_INFO * error_info;
|
||||
MYSQLND_STATS * stats;
|
||||
MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * factory;
|
||||
MYSQLND_CONNECTION_STATE * connection_state;
|
||||
} MYSQLND_PACKET_HEADER;
|
||||
|
||||
/* Server greets the client */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue