summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert all MySQL auth related changesNikita Popov2018-09-041-10/+0
| | | | | | | | | | | | | | | | | | | | | | Per bug #76651 these changes do not appear to work correctly in some cases. As no immediate fix seems to be forthcoming, I'm reverting these changes. Revert "Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)" This reverts commit 11507c0e1bfa17a96480f3648397f6975c31551e. Revert "Fix mysqlnd build without openssl" This reverts commit 6c9db02ff7812c298d1e7e292ba731d9d3a66790. Revert "Fix VC compilation as variable size array is not supported" This reverts commit f96df64cb2219fda42ca875483f874cf3052647c. Revert "Fix MySQL 8 auth" This reverts commit d6e81f0bfd0cb90586dd83d4fd47a4302605261a.
* Fix MySQL 8 authJohannes Schlüter2018-06-061-0/+10
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Optimized memory handling of BIT fields. Less memory copies and lessAndrey Hristov2016-12-121-3/+0
| | | | memory usage.
* Fixed compilation warningsDmitry Stogov2016-06-221-1/+1
|
* Fix compiler warnings in mysqlndKalle Sommer Nielsen2016-04-031-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-5/+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
| | |
* | | More const and moved the declaration of php_mysqlnd_scramble() to mysqlnd_auth.hAndrey Hristov2015-11-171-3/+1
| | |
* | | MNDR:Andrey Hristov2015-11-121-1/+1
| | | | | | | | | | | | | | | - less dereferencing in mysqlnd_ps . Dereference stmt->conn only once and use a stack variable. Also make the source cleaner.
* | | MNDR:Andrey Hristov2015-11-121-9/+1
| | | | | | | | | | | | - better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
* | | MNDR:Andrey Hristov2015-11-121-1/+6
| | | | | | | | | | | | | | | - 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-2/+0
| | | | | | | | | | | | - moved networking code to mysqlnd_vio.c
* | | MNDR:Andrey Hristov2015-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | - 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-3/+2
| | | | | | | | | | | | - move connection establishment code to own command - COM_HANDSHAKE
* | | MNDR:Andrey Hristov2015-11-121-2/+9
| | | | | | | | | | | | - decouple the commands from the connection. CONN ist passed now only in 1 case
* | | MNDR:Andrey Hristov2015-11-121-1/+0
| | | | | | | | | | | | - remove COM_FIELD_LIST
* | | MNDR:Andrey Hristov2015-11-121-8/+4
| | | | | | | | | | | | | | | - now send_command_handle_response() also doesn't depend directly on MYSQLND_CONN_DATA
* | | MNDR:Andrey Hristov2015-11-121-2/+2
| | | | | | | | | | | | - make MYSQLND_ERROR_INFO a class
* | | MDNR:Andrey Hristov2015-11-121-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-2/+2
|/ / | | | | | | | | - Rename MYSQLND_PROTOCOL to MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY - Rename other symbols related to MYSQLND_PROTOCOL accordingly
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-11/+11
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | reduce the struct size by 8 byte on 64 bitAnatol Belski2014-09-141-4/+4
| |
* | master renames phase 1Anatol Belski2014-08-251-4/+4
| |
* | ported mysql and mysqlndAnatol Belski2014-08-191-4/+4
| |
* | Don't use zend_string for other fields (only name here is enough)Xinchen Hui2014-06-251-0/+1
| |
* | Use zend_string in mysqlndXinchen Hui2014-06-231-2/+0
| |
* | Refactoring mysqlnd (incompleted, only mysqlnd ext compilable)Xinchen Hui2014-06-181-4/+4
|/
* New result fetching mode for mysqlnd, which should use less memory butAndrey Hristov2014-04-101-1/+5
| | | | | | | | implies more memory copy. The old method is still available and can be used. It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query() New mode can be forced with an INI setting, for all extensions that support this mode (ext/mysql and mysqli, because PDO due to it's architecture can't support it) The setting is mysqlnd.fetch_data_copy=[0|1]
* Backport refactoring from php-srcAndrey Hristov2014-01-241-0/+1
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Add support for connect attributes, as of MySQL 5.6Andrey Hristov2013-01-151-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-061-1/+1
| |\
| | * bump yearXinchen Hui2013-01-061-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * rename parameter name - should not shadow the global symbol allocaAndrey Hristov2010-10-051-1/+1
| | |
| | * Handle problems in the row_decoder, return type used to be void,Andrey Hristov2010-05-311-2/+2
| | | | | | | | | | | | | | | now it can return on problems.
| | * Export MYSQLND_PROTOCOL methodsAndrey Hristov2010-05-141-1/+1
| | |
| | * const-ify fieldsAndrey Hristov2010-04-281-1/+1
| | |
| | * It is possible that change user tries an user who has old password.Andrey Hristov2010-04-201-0/+1
| | | | | | | | | | | | | | | Instead of error message that doesn't say much there is more information now.
| | * - Fix copyrightsFelipe Pena2010-04-201-2/+2
| | |