summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6' into PHP-7.0Andrey Hristov2015-09-251-2/+4
|\
| * Fixed bug #70572 segfault in mysqlnd_connectAndrey Hristov2015-09-251-2/+4
| |
| * Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-235-0/+13
| |
* | Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-235-0/+13
| |
* | Use Zend MM to keep statistic of non-persistent connections ↵Dmitry Stogov2015-09-185-16/+16
| | | | | | | | (calloc/free->pecalloc/pefree)
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-09-091-0/+23
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server Resolved conflicts: ext/mysqlnd/mysqlnd_net.c
| * Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a serverSergei Turchanov2015-09-091-0/+23
| | | | | | | | | | libmysqlclient activates TCP keep-alive when connecting to a server. PHP mysqlnd extension must do the same to maintain compatibility.
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-07-071-23/+37
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Better fix for bug #69958 update news Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM) Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath Fix bug #69958 - Segfault in Phar::convertToData on invalid file Better fix for bug #69958 Better fix for bug #69958 update news Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM) Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath Fix bug #69958 - Segfault in Phar::convertToData on invalid file Conflicts: ext/phar/phar_object.c
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-07-071-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Better fix for bug #69958 update news Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM) Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath Fix bug #69958 - Segfault in Phar::convertToData on invalid file Conflicts: ext/mysqlnd/mysqlnd.c
| | | * Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)Stanislav Malyshev2015-07-071-25/+40
| | | |
| | * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-07-061-22/+36
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM) Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath Fix bug #69958 - Segfault in Phar::convertToData on invalid file Conflicts: ext/mysqlnd/mysqlnd.c
| | | * | Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)Stanislav Malyshev2015-07-061-25/+40
| | | |/
* | | | remove TSRMLS_*Anatol Belski2015-08-021-1/+1
| | | | | | | | | | | | | | | | either remains or merged in from PHP5
* | | | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-6/+2
| | | |
* | | | Fix mysqlnd warningsNikita Popov2015-07-172-4/+3
| | | |
* | | | Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)Stanislav Malyshev2015-07-071-12/+26
| | | |
* | | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-308-29/+29
| | | | | | | | | | | | | | | | semantick changes).
* | | | Improved zend_string API (Francois Laupretre)Dmitry Stogov2015-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods
* | | | Fixed Bug #69796 mysqli_stmt::fetch doesn't assign null values to bound ↵Xinchen Hui2015-06-111-0/+2
| | | | | | | | | | | | | | | | variables
* | | | Fixed bug #68887 (resources are not freed correctly)Dmitry Stogov2015-04-082-2/+2
| | | |
* | | | Rename prefixed mysqlnd functions - prefixed with undescore, which wereAndrey Hristov2015-04-074-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessible through a macro. Also removing the access macros. These prefixed functions were used, similarly to many functions in Zend2, because of TSRMLS - the macro was adding the the tsrm pointer to the call. However, as in Zend3 no TSRM pointers are passed down the stack, because of the usage of cached TSRM pointer in a real thread local variable, these macros and prefixed naming have lost their purpose.
* | | | Split mysqlnd_stmt::execute in 2 logical parts :Andrey Hristov2015-04-074-18/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - mysqlnd_stmt::send_execute() which just creates the wire message by using an aux function and sends it to the server - mysqlnd_stmt::parse_execute_respose() which is responsible for handling the bytes sent from the server in response to COM_EXECUTE. This makes it possible to implement finer method overwriting in mysqlnd plugins.
* | | | Add more info to the calls:Andrey Hristov2015-04-074-10/+23
| | | | | | | | | | | | | | | | | | | | - let the callee knows whether it was called directly or indirectly - two NULL zval * parameters for future extension in a pecl plugin
* | | | Use PHP memory manager for mysqlnd memory pools.Dmitry Stogov2015-04-021-11/+11
| | | |
* | | | Remove this VC8 check as our minimum target version of VC is higherKalle Sommer Nielsen2015-03-291-2/+2
| | | |
* | | | cleanup the mod version macros, round 2Anatol Belski2015-03-238-10/+10
| | | |
* | | | s/PHP Version 5/PHP Version 7/gLior Kaplan2015-03-131-1/+1
| | | | | | | | | | | | | | | | Follow up for d0cb7153
* | | | Minimize copying of HashTable realocationDmitry Stogov2015-03-051-1/+1
| | | |
* | | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-162-3/+3
| | | | | | | | | | | | | | | | which also comply with the current semantics for such macros
* | | | Use new ZEND_HASH_FOREACH_... API.Dmitry Stogov2015-02-101-4/+0
| | | |
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2015-02-011-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-5.6: fix sizeof size
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-02-011-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: fix sizeof size
| | * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-02-011-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.4: fix sizeof size
| | | * fix sizeof sizeStanislav Malyshev2015-02-011-1/+1
| | | |
| | * | Patch commit d9f85373e32 by moving the float_to_double function toKeyur Govande2015-01-262-2/+62
| | | | | | | | | | | | | | | | a header file.
| | * | Fix for bugs #68114 (Build fails on OS X due to undefined symbols)Keyur Govande2015-01-262-79/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors). The patch removes support for Decimal floating point numbers and now defaults to using similar logic as what libmysqlclient does: convert a 4 byte floating point number into a string, and then the string into a double. The quirks of MySQL are maintained as seen in Field_Float::val_str()
| | * | Bump yearXinchen Hui2015-01-1537-37/+37
| | | |
| * | | Patch commit d9f85373e32 by moving the float_to_double function toKeyur Govande2015-01-262-2/+62
| | | | | | | | | | | | | | | | a header file.
| * | | Fix for bugs #68114 (Build fails on OS X due to undefined symbols)Keyur Govande2015-01-262-79/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors). The patch removes support for Decimal floating point numbers and now defaults to using similar logic as what libmysqlclient does: convert a 4 byte floating point number into a string, and then the string into a double. The quirks of MySQL are maintained as seen in Field_Float::val_str()
| * | | bump yearXinchen Hui2015-01-1537-37/+37
| | | |
* | | | bump yearXinchen Hui2015-01-1537-37/+37
| | | |
* | | | trailing whitespace removalStanislav Malyshev2015-01-1019-132/+132
| | | |
* | | | Merge branch 'PHP-5.6'Keyur Govande2015-01-073-79/+65
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Add NEWS Add NEWS Patch commit d9f85373e32 by moving the float_to_double function to a header file. Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors). 5.5.22 now Conflicts: ext/mysqli/mysqli_api.c
| * \ \ \ Merge branch 'PHP-5.5' into PHP-5.6Keyur Govande2015-01-073-79/+65
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Add NEWS Patch commit d9f85373e32 by moving the float_to_double function to a header file. Fix for bugs #68114 (Build fails on OS X due to undefined symbols) and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors). 5.5.22 now Conflicts: configure.in main/php_version.h
| | * | | Patch commit d9f85373e32 by moving the float_to_double function toKeyur Govande2015-01-072-2/+62
| | | | | | | | | | | | | | | | | | | | a header file.
| | * | | Fix for bugs #68114 (Build fails on OS X due to undefined symbols)Keyur Govande2015-01-072-79/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors). The patch removes support for Decimal floating point numbers and now defaults to using similar logic as what libmysqlclient does: convert a 4 byte floating point number into a string, and then the string into a double. The quirks of MySQL are maintained as seen in Field_Float::val_str()
* | | | Merge branch 'PHP-5.6'Keyur Govande2014-12-261-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-5.6: Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
| * | | Merge branch 'PHP-5.5' into PHP-5.6Keyur Govande2014-12-261-1/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
| | * | Fix for failing tests. gcc 4.8.3 would optimize away the assigment.Keyur Govande2014-12-261-1/+2
| | | |
* | | | Drop duplicate arg from hash_get_current_key_exNikita Popov2014-12-261-2/+2
| | | |