summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
* | | | remove unused ZTS macrosAnatol Belski2014-12-171-6/+0
| | | |
* | | | remove TSRMLS_* occurenceAnatol Belski2014-12-171-2/+2
| | | |
* | | | almost all the replacements of TSRMLS_* are doneAnatol Belski2014-12-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some places have to be yet touched as they use different/custom macros namings for the same. Also some places in the code became redundant now, this is the next task. To name some: ext/mysqlnd, sapi/embed, ext/curl and some smaller places here and there.
* | | | second shot on removing TSRMLS_*Anatol Belski2014-12-149-27/+27
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-1332-1296/+1295
| | | |
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-201-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (36 commits) NEWS adapt test for error message introduce in fix for #68463 Fix bug #68463 listen.allowed_clients can silently result in no allowed access run a few request in this test fix test fix test added info about some other macro changes added note about toolset and phpize added note about the response files split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1 split formatter_format*.phpt for ICP 54.1 split dateformat_timezone_arg_variations*.phpt for ICU 54.1 split dateformat_get_set_timezone_variant*.phpt for ICU 54.1 fix icu version to test split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1 split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1 split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1 split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1 clone dateformat_calendars_variant3.phpt for ICU 54.1 split collator_get_sort_key_variant3.phpt for icu 54.1 ...
| * | | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-191-1/+1
| | | | |
* | | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-181-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (398 commits) NEWS add test for bug #68381 Fixed bug #68381 Set FPM log level earlier during init proper dllexport move to size_t where zend_string is used internally fix some datatype mismatches return after the warning, to fix uninitialized salt usage fix datatype mismatches add missing type specifier fix datatype mismatches fix unsigned check "extern" shouldn't be used for definitions joined identical conditional blocks simplify fpm tests SEND_VAR_NO_REF optimization Add test for bug #68442 Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client Get rid of zend_free_op structure (use zval* instead). Get rid of useless TSRMLS arguments. Add new FPM test for IPv4/IPv6 ... Conflicts: win32/build/config.w32
| * | | | validate sockets portable wayAnatol Belski2014-11-141-2/+2
| | | | |
* | | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-10-171-2/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: check for zlib headers as well as lib for mysqlnd a realpath cache key can be int or float, catching this TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247 Micro optimizations for isset/empty Micro optimization for zend_hash_next_index_insert_new() Fix array_keys() on $GLOBALS Fix procedural finfo calls in methods Conflicts: ext/mysqlnd/config.w32
| * | | | check for zlib headers as well as lib for mysqlndAnatol Belski2014-10-171-2/+5
| | | | |
* | | | | converted some ext/mysql* and fixed ext/zlibAnatol Belski2014-10-154-3/+12
| | | | |
* | | | | bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | for better comparability with the mainstream
* | | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-10-081-1/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: Add to NEWS Add to NEWS Fix for bug #68087 (ODBC not reading DATE columns correctly) Add to NEWS Add to NEWS Fix for bug #68114 (Build fails on OS X due to undefined symbols) Micro optimization Improved return by reference handling
| * | | | Merge branch 'PHP-5.6'Keyur Govande2014-10-071-1/+6
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Add to NEWS Fix for bug #68114 (Build fails on OS X due to undefined symbols)