summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
Commit message (Collapse)AuthorAgeFilesLines
* Fix a memleak with mysqlnd and SSLJohannes Schlüter2018-02-202-1/+2
|
* Merge branch 'PHP-7.0' into PHP-7.1Johannes Schlüter2018-02-201-8/+15
|\
| * Fix negotiaton of MySQL auth pluginJohannes Schlüter2018-02-201-7/+14
| |
* | year++Xinchen Hui2018-01-0248-48/+48
| |
* | Fixed bug #75018, fixed bug #75177Anatol Belski2017-09-131-1/+1
| | | | | | | | Both are caused by the same cast issue in mysqlnd on 32-bit.
* | Merge branch 'PHP-7.0' into PHP-7.1Johannes Schlüter2017-04-141-0/+47
|\ \ | |/
| * Add support for MySQL 8's Unicode typesJohannes Schlüter2017-04-141-0/+47
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-04-071-2/+2
|\ \ | |/ | | | | | | | | | | | | * PHP-7.0: Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376) Conflicts: ext/mysqlnd/mysqlnd_ps.c
| * Fix invalid free of persistent results on error/connection loss in mysqlnd ↵Yussuf Khalil2017-04-051-2/+2
| | | | | | | | (bug 74376)
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-121-4/+5
|\ \ | |/
| * Fixed bug #74021andrewnester2017-02-121-4/+4
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-01-121-2/+3
|\ \ | |/
| * Fix bug #69899rfussenegger2017-01-121-2/+3
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-0437-37/+37
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-0448-48/+48
| |
* | Fix data_size decrementNikita Popov2017-01-021-1/+1
| | | | | | | | We don't want to decrement the pointer...
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-01-021-1/+1
|\ \ | |/
| * Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVEvanviegen2017-01-021-2/+8
| | | | | | | | | | | | Fixes bug #73800 news entry for PR #2250
* | Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVEvanviegen2017-01-021-1/+7
| | | | | | | | | | | | Fixes bug #73800 news entry for PR #2249
* | Optimized memory handling of BIT fields. Less memory copies and lessAndrey Hristov2016-12-125-91/+11
| | | | | | | | memory usage.
* | Merge branch 'PHP-7.0' into PHP-7.1Andrey Hristov2016-12-122-3/+29
|\ \ | |/
| * Fix off by 1 problem.Andrey Hristov2016-12-122-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | The problem was manifestated only with BIT columns and only when more than one row was fetched. The problem was coming from the fact that in pre-7.0 times mysqlnd was using a no-copy optimization. This optimization kept the strings (and also the BIT mask equivalents as strings) in the packet and the zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because of this the allocated memory for the packet was reduced by 1 by the person who ported the driver, but the starting address of the bit area wasn't reduced. Because of this the bit_area started at wrong address and the length decoded wrong.
| * Fix bug #72293 - Heap overflow in mysqlnd related to BIT fieldsStanislav Malyshev2016-09-121-1/+6
| |
* | Fix bug #72293 - Heap overflow in mysqlnd related to BIT fieldsStanislav Malyshev2016-09-121-0/+5
| |
* | Fixed bug #72701 mysqli_get_host_info() wrong outputAnatol Belski2016-07-291-1/+1
| |
* | Fix for bug #71863 Segfault when EXPLAIN with "Unknown column" errorAndrey Hristov2016-07-252-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | The reason was that after the big refactoring of mysqlnd at the end of last year code that is initializing the error_info structure in the result set was not added. It existed already for connections and PS. The code that segfaults is hit only with MariaDB because MariaDB sends full metadata about the EXPLAIN query + EOF packet and only then it sends an error packet. MySQL doesn't do that but sends directly an error which is caught (by different code path). As errors during execution (which means after sending meta) are pretty rare there was no test case of MySQL to catch it.
* | Fixed compilation warningsDmitry Stogov2016-06-234-3/+4
| |
* | Fixed compilation warningsDmitry Stogov2016-06-222-2/+3
| |
* | Fix compiler warnings in mysqlndKalle Sommer Nielsen2016-04-033-3/+3
| |
* | Merge branch 'PHP-7.0'Xinchen Hui2016-03-171-1/+0
|\ \ | |/ | | | | | | * PHP-7.0: Remove typo
| * Remove typoXinchen Hui2016-03-171-1/+0
| |
* | Fix buildKalle Sommer Nielsen2016-03-171-1/+2
| |
* | Fix more emailsAndrey Hristov2016-03-166-12/+15
| |
* | Merge branch 'PHP-7.0'Andrey Hristov2016-03-163-3/+3
|\ \ | |/
| * More email fixingAndrey Hristov2016-03-163-3/+3
| |
* | Merge branch 'PHP-7.0'Andrey Hristov2016-03-1642-124/+116
|\ \ | |/
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-1637-153/+113
| |
| * Eliminate usages of _PP macrosNikita Popov2016-03-031-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | These are either in debug code (fix them), commented out (drop them) or in dead compatibility macros (drop them). One usage was in php_stream_get_from_zval(), which we have not used since at least PHP 5.2 and, judging from the fact that nobody complained about it causing compile errors in PHP 7, nobody else uses it either, so drop it. There are still remaining uses in mysqli embedded and odbc birdstep. These probably need to be dropped outright.
* | Merge branch 'PHP-7.0'Nikita Popov2016-03-032-2/+2
|\ \ | |/
| * Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | | | | | Also re bug #71575.
* | Move free_chunk and resize_chunk into memory poolNikita Popov2016-02-225-21/+23
| | | | | | | | | | Drops 24 bytes from each chunk. For the example in bug #71468 it reduces memory usage by 30%.
* | Drop mysqlnd mempool refcountNikita Popov2016-02-222-8/+2
| | | | | | | | | | | | | | This member was no longer used. Also fix handling of from_pool in resize_chunk. It was setting pool to NULL instead of from_pool to FALSE.
* | Remove version checksNikita Popov2016-01-302-32/+0
| | | | | | | | | | | | | | | | | | | | | | PHP_VERSION_ID PHP_API_VERSION ZEND_MODULE_API_NO PHP_MAJOR_VERSION, PHP_MINOR_VERSION ZEND_ENGINE_2 I've left litespeed alone, as it seems to genuinely maintain support for many PHP versions.
* | Add missing macroAndrey Hristov2016-01-211-0/+1
| |
* | Move cleanup code to a separate function and export it. Export alsoAndrey Hristov2016-01-153-14/+32
| | | | | | | | other functions that can be of use for plugins
* | Forgot to add const-ness to the macroAndrey Hristov2016-01-141-2/+2
| |
* | Convenience macrosAndrey Hristov2016-01-141-0/+3
| |
* | commit 597db443cd6ce76b0dce590b9f51b5d4d610325eAndrey Hristov2016-01-132-13/+13
| | | | | | | | | | | | | | | | | | Author: John Bafford <john@bafford.com> Date: Mon Jan 11 17:17:44 2016 -0500 MYSQLND_METHOD(mysqlnd_conn_data, get_scheme) should take socket_or_pipe by reference to allow modifications Fixes a read-from-null crash in mnd_pestrdup when trying to duplicate the socket filename. (Fixes regression in e81ecc80c)
* | Fix reloc for the allocator. Original files and lines were not showingAndrey Hristov2016-01-052-65/+72
| | | | | | | | correct. This seems to be a PHP7 issue.
* | Fix typo that was unhiding only with USE_ZEND_ALLOCAndrey Hristov2016-01-051-1/+1
| |