| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)
|
| |\
| | |
| | |
| | |
| | | |
* PHP-5.6:
Happy new year (Update copyright to 2016)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
- move things out of mysqlnd_priv.h
|
| | |
| | |
| | |
| | | |
- remove inclusion of uneeded headers
|
| | |
| | |
| | |
| | | |
- 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.
|
| | |
| | |
| | |
| | | |
- make the connection state a class
|
| | |
| | |
| | |
| | | |
- 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
|
| | |
| | |
| | |
| | | |
- Refactor the command factory. Let the factory be exchangeable.
|
| | |
| | |
| | |
| | | |
- 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_PROTOCOL to MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY
- Rename other symbols related to MYSQLND_PROTOCOL accordingly
|
| |
| |
| |
| | |
(calloc/free->pecalloc/pefree)
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
Fixed mysqlnd compilation in debug mode on windows
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- when cloning use the methods of the original object
|
| |
| |
| |
| |
| |
| |
| | |
methods for the handle and the data object.
Add auxiliary functions to work with the new methods.
Add possibility to clone a connection object - shadow copy.
|
| |
| |
| |
| |
| | |
A step in the direction of keeping internal data private
|
| |
| |
| |
| |
| |
| | |
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
|
| |
| |
| |
| |
| | |
for similar objects
|
| | |
|
|
|
|
|
|
| |
and mysqlnd_ext_plugin.c (mysqlnd extension plugin)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- when cloning use the methods of the original object
|