summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_driver.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-1/+1
|\
| * More email fixingAndrey Hristov2016-03-161-1/+1
| |
* | Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-3/+3
|\ \ | |/
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-4/+3
| |
* | Merge branch 'PHP-7.0'Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | | | | | * PHP-7.0: Update header to PHP Version 7 Happy new year (Update copyright to 2016) Happy new year (Update copyright to 2016)
| * Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | Give the possibility of the client to pass a factoryAndrey Hristov2015-11-241-2/+2
| | |
* | | Don't use the specific translated name but use the macro for thisAndrey Hristov2015-11-171-1/+1
| | |
* | | More const and moved the declaration of php_mysqlnd_scramble() to mysqlnd_auth.hAndrey Hristov2015-11-171-5/+5
| | |
* | | MNDR:Andrey Hristov2015-11-121-1/+3
| | | | | | | | | | | | - move things out of mysqlnd_priv.h
* | | MNDR:Andrey Hristov2015-11-121-25/+23
| | | | | | | | | | | | - remove inclusion of uneeded headers
* | | MNDR:Andrey Hristov2015-11-121-9/+9
| | | | | | | | | | | | - better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
* | | MNDR:Andrey Hristov2015-11-121-25/+25
| | | | | | | | | | | | | | | - rename MYSQLND_NET to MYSQLND_PPEC (protocol packet envelope codec). PPEC does only the encoding and decoding to the protocol frame.
* | | MNDR:Andrey Hristov2015-11-121-0/+1
| | | | | | | | | | | | - moved networking code to mysqlnd_vio.c
* | | MNDR:Andrey Hristov2015-11-121-5/+42
| | | | | | | | | | | | | | | | | | | | | - 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.
* | | MNDR:Andrey Hristov2015-11-121-1/+3
| | | | | | | | | | | | - make the connection state a class
* | | MNDR:Andrey Hristov2015-11-121-32/+13
| | | | | | | | | | | | - make MYSQLND_ERROR_INFO a class
* | | MDNR:Andrey Hristov2015-11-121-1/+4
| | | | | | | | | | | | | | | - make MYSQLND_UPSERT_STATUS more like an object that a simple structure Still use macros to make updates simple
* | | MDNR:Andrey Hristov2015-11-121-0/+1
| | | | | | | | | | | | - Refactor the command factory. Let the factory be exchangeable.
* | | MNDR:Andrey Hristov2015-11-121-1/+2
| | | | | | | | | | | | - Inject the object factory
* | | MNDR:Andrey Hristov2015-11-121-9/+10
| | | | | | | | | | | | | | | | | | - 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)
* | | MDNR:Andrey Hristov2015-11-121-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | MNDR:Andrey Hristov2015-11-121-8/+8
|/ / | | | | | | | | - Rename MYSQLND_PROTOCOL to MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY - Rename other symbols related to MYSQLND_PROTOCOL accordingly
* | Use Zend MM to keep statistic of non-persistent connections ↵Dmitry Stogov2015-09-181-2/+2
| | | | | | | | (calloc/free->pecalloc/pefree)
* | cleanup the mod version macros, round 2Anatol Belski2015-03-231-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-25/+25
| |
* | remove fetches from mysqlndkrakjoe2014-09-261-3/+1
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\
| * bump yearXinchen Hui2013-01-061-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Anatoliy Belsky2012-12-131-0/+2
|\ \ | |/ | | | | | | * PHP-5.4: Fixed mysqlnd compilation in debug mode on windows
| * Fixed mysqlnd compilation in debug mode on windowsAnatoliy Belsky2012-12-131-0/+2
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - shift a bit of code aroundAndrey Hristov2011-11-021-1/+1
| | | | | | | | | | - when cloning use the methods of the original object
| * Now really split the method tables and have differentAndrey Hristov2011-10-311-4/+35
| | | | | | | | | | | | | | 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.
| * Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-19/+29
| | | | | | | | | | A step in the direction of keeping internal data private
| * Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-10/+17
| | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
| * move plugin specific stuff to one file. create object factoryAndrey Hristov2011-10-241-0/+157
| | | | | | | | | | for similar objects
| * fix the buildAndrey Hristov2011-10-211-1/+0
| |
| * shift code around to two new files - mysqlnd_driver.c Andrey Hristov2011-10-211-0/+100
| | | | | | and mysqlnd_ext_plugin.c (mysqlnd extension plugin)
* compile out example plugin in a release buildandrey2012-09-261-0/+2
|
* refactor MYSQLND_NET, split it two parts for easy resharingandrey2012-04-301-7/+19
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* add some PHPAPIAndrey Hristov2011-12-141-2/+2
|
* - shift a bit of code aroundAndrey Hristov2011-11-021-1/+1
| | | | | - when cloning use the methods of the original object