Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields | Stanislav Malyshev | 2016-09-12 | 1 | -0/+5 |
| | |||||
* | Fixed bug #72701 mysqli_get_host_info() wrong output | Anatol Belski | 2016-07-29 | 1 | -1/+1 |
| | |||||
* | Fix for bug #71863 Segfault when EXPLAIN with "Unknown column" error | Andrey Hristov | 2016-07-25 | 2 | -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 warnings | Dmitry Stogov | 2016-06-23 | 4 | -3/+4 |
| | |||||
* | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 2 | -2/+3 |
| | |||||
* | Fix compiler warnings in mysqlnd | Kalle Sommer Nielsen | 2016-04-03 | 3 | -3/+3 |
| | |||||
* | Merge branch 'PHP-7.0' | Xinchen Hui | 2016-03-17 | 1 | -1/+0 |
|\ | | | | | | | | | * PHP-7.0: Remove typo | ||||
| * | Remove typo | Xinchen Hui | 2016-03-17 | 1 | -1/+0 |
| | | |||||
* | | Fix build | Kalle Sommer Nielsen | 2016-03-17 | 1 | -1/+2 |
| | | |||||
* | | Fix more emails | Andrey Hristov | 2016-03-16 | 6 | -12/+15 |
| | | |||||
* | | Merge branch 'PHP-7.0' | Andrey Hristov | 2016-03-16 | 3 | -3/+3 |
|\ \ | |/ | |||||
| * | More email fixing | Andrey Hristov | 2016-03-16 | 3 | -3/+3 |
| | | |||||
* | | Merge branch 'PHP-7.0' | Andrey Hristov | 2016-03-16 | 42 | -124/+116 |
|\ \ | |/ | |||||
| * | Fix emails in headers. @mysql.com addresses are no more since many years. | Andrey Hristov | 2016-03-16 | 37 | -153/+113 |
| | | |||||
| * | Eliminate usages of _PP macros | Nikita Popov | 2016-03-03 | 1 | -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 Popov | 2016-03-03 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE | Nikita Popov | 2016-03-03 | 2 | -2/+2 |
| | | | | | | | | Also re bug #71575. | ||||
* | | Move free_chunk and resize_chunk into memory pool | Nikita Popov | 2016-02-22 | 5 | -21/+23 |
| | | | | | | | | | | Drops 24 bytes from each chunk. For the example in bug #71468 it reduces memory usage by 30%. | ||||
* | | Drop mysqlnd mempool refcount | Nikita Popov | 2016-02-22 | 2 | -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 checks | Nikita Popov | 2016-01-30 | 2 | -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 macro | Andrey Hristov | 2016-01-21 | 1 | -0/+1 |
| | | |||||
* | | Move cleanup code to a separate function and export it. Export also | Andrey Hristov | 2016-01-15 | 3 | -14/+32 |
| | | | | | | | | other functions that can be of use for plugins | ||||
* | | Forgot to add const-ness to the macro | Andrey Hristov | 2016-01-14 | 1 | -2/+2 |
| | | |||||
* | | Convenience macros | Andrey Hristov | 2016-01-14 | 1 | -0/+3 |
| | | |||||
* | | commit 597db443cd6ce76b0dce590b9f51b5d4d610325e | Andrey Hristov | 2016-01-13 | 2 | -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 showing | Andrey Hristov | 2016-01-05 | 2 | -65/+72 |
| | | | | | | | | correct. This seems to be a PHP7 issue. | ||||
* | | Fix typo that was unhiding only with USE_ZEND_ALLOC | Andrey Hristov | 2016-01-05 | 1 | -1/+1 |
| | | |||||
* | | - Make functions static, as they are not needed to be public - exported | Andrey Hristov | 2016-01-04 | 4 | -41/+91 |
| | | | | | | | | | | | | | | through a structure - Fixed typo in statistic name - Added 2 static functions for copying a MYSQLND_CSTRING and converting a CSTRING to STRING. | ||||
* | | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 11 | -11/+11 |
| | | |||||
* | | Merge branch 'PHP-7.0' | Lior Kaplan | 2016-01-01 | 37 | -37/+37 |
|\ \ | |/ | | | | | | | | | | | * 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.0 | Lior Kaplan | 2016-01-01 | 37 | -37/+37 |
| |\ | | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| | * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 38 | -38/+38 |
| | | | |||||
* | | | Add a method for checking if the underlying stream is valid. | Andrey Hristov | 2015-12-01 | 2 | -13/+25 |
| | | | |||||
* | | | Merge branch 'PHP-7.0' | Xinchen Hui | 2015-11-27 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | Fixed bug #70949 (SQL Result Sets With NULL Can Cause Fatal Memory Errors) | Xinchen Hui | 2015-11-27 | 1 | -0/+2 |
| | | | |||||
* | | | Give the possibility of the client to pass a factory | Andrey Hristov | 2015-11-24 | 5 | -9/+11 |
| | | | |||||
* | | | Remove unused variable | Andrey Hristov | 2015-11-23 | 2 | -3/+0 |
| | | | |||||
* | | | Fix the macro in case of no statistics | Andrey Hristov | 2015-11-18 | 1 | -1/+1 |
| | | | |||||
* | | | Fix wrong macro name | Andrey Hristov | 2015-11-18 | 2 | -3/+3 |
| | | | |||||
* | | | Revert "Fixed compilation on 32-bit Linux" | Andrey Hristov | 2015-11-18 | 1 | -3/+3 |
| | | | | | | | | | | | | This reverts commit 11c9729a9ca7b064936106e03fabadb8ab6f89fa. | ||||
* | | | Revert "Add some const-ness to the protocol frame codec" | Andrey Hristov | 2015-11-17 | 2 | -4/+4 |
| | | | | | | | | | | | | This reverts commit f8c2b459481209c3761a694baa6f38060dc9875a. | ||||
* | | | Don't use the specific translated name but use the macro for this | Andrey Hristov | 2015-11-17 | 4 | -7/+5 |
| | | | |||||
* | | | Fixed compilation on 32-bit Linux | Dmitry Stogov | 2015-11-17 | 1 | -3/+3 |
| | | | |||||
* | | | More const and moved the declaration of php_mysqlnd_scramble() to mysqlnd_auth.h | Andrey Hristov | 2015-11-17 | 6 | -45/+45 |
| | | | |||||
* | | | constify parameters | Andrey Hristov | 2015-11-17 | 4 | -22/+22 |
| | | | |||||
* | | | Rename from previous acronym (ppec became pfc) | Andrey Hristov | 2015-11-17 | 2 | -13/+13 |
| | | | |||||
* | | | Bring consistency to the class by renaming the methods too (from the | Andrey Hristov | 2015-11-17 | 5 | -10/+10 |
| | | | | | | | | | | | | old temporary name) | ||||
* | | | Add some const-ness to the protocol frame codec | Andrey Hristov | 2015-11-17 | 2 | -4/+4 |
| | | | |||||
* | | | mysqlnd refactoring: | Andrey Hristov | 2015-11-17 | 6 | -66/+125 |
| | | | | | | | | | | | | - move MYSQLND_READ_BUFFER to own file | ||||
* | | | mysqlnd refactoring: | Andrey Hristov | 2015-11-16 | 3 | -65/+68 |
| | | | | | | | | | | | | | | | | | | | | | - reorganize the statistics code a bit. There is one mysqlnd specific function, for convenience, in mysqlnd_statistics.c - namelyu _mysqlnd_get_client_stats(). The mysqlnd specific stats macros are moved to mysqlnd.h to keep mysqlnd_statistics.h from being mysqlnd specific. |