| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- rename mysqlnd.c to mysqlnd_connection.c
|
|
|
|
| |
- move things out of mysqlnd_priv.h
|
|
|
|
| |
- 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.
|
|
|
|
| |
- 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.
|
|
|
|
| |
- 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
|
|
|
|
| |
- 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
|
|
|
|
| |
- switch to macro generation of structure names for the methods
|
|
|
|
| |
- make MYSQLND_ERROR_INFO a class
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- Refactor the command factory. Let the factory be exchangeable.
|
|
|
|
|
| |
- send_command() is no more, thus we need commands for all COM_STMT_*
+ CHANGE_USER
|
|
|
|
|
| |
- Switch for directly executing a command over the wire to creating a
command object which is then executed.
|
|
|
|
| |
- Remove unused variable
|
|
|
|
| |
- Inject the object factory
|
|
|
|
|
|
| |
- remove static function and make it a method. The function doesn't need to
be in mysqlnd_ps.c as it doesn't use any resources anymore from it (it used
in the past)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removed init() method from mysqlnd_conn_data and moved the initialization
to the object factory->get_connection(). Now it is unified as with the prepared
statement which doesn't have any init() method
- the protocol decoder factory now takes connection as parameter at creation and
thus there is no need to pass the connection as parameter when calling the read
or the write method of a packet.
- saved the protocol payload decoder factory as pointer in every packet (read/write)
so the connection doesn't need to be passed on every call of read/write (dependency
has been already injected at creation). This will alow to move protocol specific
code from MYSQLND_NET (send_ex()) to make MYSQLND_NET leaner and free from protocol
stuff.
|
|
|
|
|
|
| |
- rename mysqlnd_init to mysqlnd_connection_init
- rename mysqlnd_connect to mysqlnd_connection_connect
- created macros for BC
|
|
|
|
|
| |
- Rename MYSQLND_PROTOCOL to MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY
- Rename other symbols related to MYSQLND_PROTOCOL accordingly
|
|
|
|
| |
- mysqlnd_option -> mysqlnd_client_option
|
|
|
|
| |
- Rename simple_command* to send_command
|
|
|
|
|
| |
- Rename MYSQLND_OPTIONS to MYSQLND_SESSION_OPTIONS
- Rename MYSQLND_NET_OPTIONS to MYSQLND_IO_OPTIONS
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
certificate validation
Added the possibility to explicitly state that the peer certificate should not be checked.
Back to the default - checking the certificate.
Exported MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT
Usage : mysqli_real_connect( , , , , , MYSQLI_CLIENT_SSL | MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT)
If mysqli_ssl_set() is not called, but only MYSQLI_CLIENT_SSL is passed, without the (don't) very flag,
then no verification takes place.
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-5.5:
Better fix for bug #69958
update news
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
Better fix for bug #69958
Better fix for bug #69958
update news
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
Conflicts:
ext/phar/phar_object.c
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-5.4:
Better fix for bug #69958
update news
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
Conflicts:
ext/mysqlnd/mysqlnd.c
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* PHP-5.4:
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
Conflicts:
ext/mysqlnd/mysqlnd.c
|
| | | |/ |
|
| | | | |
|
| | | | |
|
| | | | |
|