summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_auth.c
Commit message (Collapse)AuthorAgeFilesLines
* fix the problem for connect_attr, set db condition, and add a new attribute ↵Qianqian Bu2019-08-201-0/+3
| | | | _server_host
* Revert all MySQL auth related changesNikita Popov2018-09-041-286/+7
| | | | | | | | | | | | | | | | | | | | | | 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 mysqlnd build without opensslNikita Popov2018-06-101-0/+1
| | | | | Cherry-pick of 968eb0b38cc9095d418beb8f0df08c4b9abdb079, as these changes were also introduced in lower branches.
* Fix MySQL 8 authJohannes Schlüter2018-06-061-7/+285
|
* Fix a memleak with mysqlnd and SSLJohannes Schlüter2018-02-201-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Johannes Schlüter2018-02-201-8/+15
|\
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-5/+4
|\ \ | |/
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-5/+5
| |
* | 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-1/+1
| | |
* | | MNDR:Andrey Hristov2015-11-121-2/+205
| | | | | | | | | | | | - move things out of mysqlnd_priv.h
* | | MNDR:Andrey Hristov2015-11-121-1/+0
| | | | | | | | | | | | - remove inclusion of uneeded headers
* | | MNDR:Andrey Hristov2015-11-121-9/+9
| | | | | | | | | | | | - move all data members from MYSQLND_PFC to MYSQLND_PFC_DATA
* | | MNDR:Andrey Hristov2015-11-121-7/+7
| | | | | | | | | | | | | | | - move from char* + len to MYSQLND_STRING - add some more const modifiers
* | | MNDR:Andrey Hristov2015-11-121-6/+5
| | | | | | | | | | | | - better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
* | | MNDR:Andrey Hristov2015-11-121-5/+5
| | | | | | | | | | | | | | | - 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-4/+4
| | | | | | | | | | | | | | | | | | | | | - 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-4/+4
| | | | | | | | | | | | | | | - now send_command_handle_response() also doesn't depend directly on MYSQLND_CONN_DATA
* | | MNDR:Andrey Hristov2015-11-121-5/+5
| | | | | | | | | | | | - rename the macro for updating the connection state
* | | MNDR:Andrey Hristov2015-11-121-28/+28
| | | | | | | | | | | | - make MYSQLND_ERROR_INFO a class
* | | MDNR:Andrey Hristov2015-11-121-1/+1
| | | | | | | | | | | | | | | - make MYSQLND_UPSERT_STATUS more like an object that a simple structure Still use macros to make updates simple
* | | MNDR:Andrey Hristov2015-11-121-9/+9
| | | | | | | | | | | | | | | - Rename MYSQLND_PROTOCOL to MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY - Rename other symbols related to MYSQLND_PROTOCOL accordingly
* | | MNDR :Andrey Hristov2015-11-121-15/+15
|/ / | | | | | | | | - Rename MYSQLND_OPTIONS to MYSQLND_SESSION_OPTIONS - Rename MYSQLND_NET_OPTIONS to MYSQLND_IO_OPTIONS
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-2/+2
| | | | | | | | semantick changes).
* | Fixed bug #68887 (resources are not freed correctly)Dmitry Stogov2015-04-081-1/+1
| |
* | cleanup the mod version macros, round 2Anatol Belski2015-03-231-3/+3
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-7/+7
| |
* | second shot on removing TSRMLS_*Anatol Belski2014-12-141-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-24/+24
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-5/+5
| |
* | ported mysql and mysqlndAnatol Belski2014-08-191-4/+4
| |
* | Fixed compilation warningDmitry Stogov2014-06-201-1/+0
| |
* | Fixed compilationDmitry Stogov2014-06-201-7/+5
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Add support for connect attributes, as of MySQL 5.6Andrey Hristov2013-01-151-1/+4
|
* Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\
| * bump yearXinchen Hui2013-01-061-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-8/+8
| | | | | | | | | | A step in the direction of keeping internal data private
| * Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-18/+18
| | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
| * MYSQLND_NET refactored not to use any direct reference to MYSQLND (the ↵Andrey Hristov2011-10-101-2/+0
| | | | | | | | | | | | | | connection) QC will need an ifdef-layer to compile with this
| * Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-3/+2
| | | | | | | | | | | | | | | | one and just one for libmysql. mysqlnd can return generate more than one error during its work and with mysqli_error() only the last error is being reported. In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found. The list is reset when the next command is executed