| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | | |
- move the command buffer out of the networking code to the protocol frame
codec.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | | |
- Small optimizations here and there
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | |
| | | |
Conflicts:
ext/mysql/php_mysql.c
|
| | |
| | |
| | |
| | | |
Actually, this only be fixed if php uses mysqlnd
|
| | | |
|
| | |
| | |
| | |
| | | |
- constify some parameters to MYSQLND_RES functions
|
| | |
| | |
| | |
| | |
| | |
| | | |
- cleanup in mysqlnd_result.c
- switch from zend_ulong to size_t for lengths. Accordingly change
mysqli and pdo_mysql for this.
|
| | |
| | |
| | |
| | | |
- rename mysqlnd.c to mysqlnd_connection.c
|
| | |
| | |
| | |
| | |
| | | |
- less dereferencing in mysqlnd_ps . Dereference stmt->conn only once and
use a stack variable. Also make the source cleaner.
|
| | |
| | |
| | |
| | | |
- remove unused macros
|
| | |
| | |
| | |
| | | |
- move things out of mysqlnd_priv.h
|
| | |
| | |
| | |
| | | |
- remove inclusion of uneeded headers
|
| | |
| | |
| | |
| | | |
- move the command factory to own file - mysqlnd_commands.c
|
| | |
| | |
| | |
| | | |
- route the option to the right handler
|
| | |
| | |
| | |
| | | |
- move all data members from MYSQLND_PFC to MYSQLND_PFC_DATA
|
| | |
| | |
| | |
| | |
| | | |
- move from char* + len to MYSQLND_STRING
- add some more const modifiers
|
| | |
| | |
| | |
| | | |
- better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
|
| | |
| | |
| | |
| | |
| | | |
- rename MYSQLND_NET to MYSQLND_PPEC (protocol packet envelope codec).
PPEC does only the encoding and decoding to the protocol frame.
|
| | |
| | |
| | |
| | |
| | | |
- intermediate step to move MYSQLND_NET from mysqlnd_vio.c to mysqlnd_wireprotocol.c
In following commits MYSQLND_NET's methods and data will be moved to MYSQLND_PROTOCOL
|
| | |
| | |
| | |
| | | |
- moved networking code to mysqlnd_vio.c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- split MYSQLND_NET into MYSQLND_NET and MYSQLND_VIO
MYSQLND_NET is above MYSQLND_VIO. _NET takes care of protocol packet
counting (even with compressed), while VIO is just about the network
(or in case of windows, non-network, but PIPE) transport.
|
| | |
| | |
| | |
| | | |
- some small renaming of methods
|
| | |
| | |
| | |
| | | |
- send_command and send_command_handle_response_* moved to a structure
|
| | |
| | |
| | |
| | | |
- Move transport string generation to own function, which can be overloaded or sniffed
|
| | |
| | |
| | |
| | | |
- remove double decrement
|
| | |
| | |
| | |
| | | |
- move connection establishment code to own command - COM_HANDSHAKE
|
| | |
| | |
| | |
| | | |
- convert the API of MYSQLND_NET to MYSQLND_STRING
|
| | |
| | |
| | |
| | | |
- decouple the commands from the connection. CONN ist passed now only in 1 case
|
| | |
| | |
| | |
| | | |
- remove dead code
|
| | |
| | |
| | |
| | | |
- clean up some things
|
| | |
| | |
| | |
| | | |
- move COM_INIT_DE result handling to the command
|
| | |
| | |
| | |
| | | |
- remove COM_FIELD_LIST
|
| | |
| | |
| | |
| | | |
- move handling of commands to the command itself
|
| | |
| | |
| | |
| | | |
- split handle_response() into handle_OK and handle_EOF
|
| | |
| | |
| | |
| | |
| | | |
- now send_command_handle_response() also doesn't depend directly on
MYSQLND_CONN_DATA
|
| | |
| | |
| | |
| | |
| | | |
- pass connection closer and its context
- remove unused parameter
|
| | |
| | |
| | |
| | | |
- rename the macro for updating the connection state
|
| | |
| | |
| | |
| | | |
- make the connection state a class
|
| | |
| | |
| | |
| | | |
- simplify the macroses for the types
|
| | |
| | |
| | |
| | | |
- switch to macro generation of structure names for the methods
|
| | |
| | |
| | |
| | | |
- Remove the SET_STMT_ERROR macro
|
| | |
| | |
| | |
| | | |
- make MYSQLND_ERROR_INFO a class
|
| | |
| | |
| | |
| | |
| | | |
- switch to MYSQLND_CLASS_METHOD_TABLE_NAME_DECL() for automatic naming
of class methods
|
| | |
| | |
| | |
| | |
| | | |
- make MYSQLND_UPSERT_STATUS more like an object that a simple structure
Still use macros to make updates simple
|
| | |
| | |
| | |
| | | |
- abstract SSL enabling into COM_ENABLE_SSL
|