summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-231-0/+2
| | | |
* | | | Use Zend MM to keep statistic of non-persistent connections ↵Dmitry Stogov2015-09-181-2/+2
| | | | | | | | | | | | | | | | (calloc/free->pecalloc/pefree)
* | | | remove TSRMLS_*Anatol Belski2015-08-021-1/+1
| | | | | | | | | | | | | | | | either remains or merged in from PHP5
* | | | 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-301-9/+9
| | | | | | | | | | | | | | | | semantick changes).
* | | | Rename prefixed mysqlnd functions - prefixed with undescore, which wereAndrey Hristov2015-04-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Add more info to the calls:Andrey Hristov2015-04-071-6/+7
| | | | | | | | | | | | | | | | | | | | - let the callee knows whether it was called directly or indirectly - two NULL zval * parameters for future extension in a pecl plugin
* | | | cleanup the mod version macros, round 2Anatol Belski2015-03-231-1/+1
| | | |
* | | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
* | | | trailing whitespace removalStanislav Malyshev2015-01-101-22/+22
| | | |
* | | | 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-141-7/+7
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-275/+275
| | | |
* | | | validate sockets portable wayAnatol Belski2014-11-141-2/+2
| | | |
* | | | Move smart_str implementation into Zend/Nikita Popov2014-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h.
* | | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | | |
* | | | Fixed useless or duplicated IS_INTERNED() checksDmitry Stogov2014-09-191-1/+1
| | | |
* | | | fixed typeAnatol Belski2014-09-161-1/+1
| | | |
* | | | fix null pointer derefAnatol Belski2014-09-071-2/+2
| | | |
* | | | master renames phase 6Anatol Belski2014-08-251-1/+1
| | | |
* | | | master renames phase 3Anatol Belski2014-08-251-3/+3
| | | |
* | | | master renames phase 1Anatol Belski2014-08-251-11/+11
| | | |
* | | | ported mysql and mysqlndAnatol Belski2014-08-191-12/+12
| | | |
* | | | clean up - avoid reallocXinchen Hui2014-08-131-4/+3
| | | |
* | | | Merge remote-tracking branch 'origin/master' into phpngXinchen Hui2014-07-181-1/+30
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | Conflicts: Zend/zend_compile.h ext/openssl/xp_ssl.c
| * | | Easier to readAndrey Hristov2014-07-161-24/+24
| | | |
| * | | Add some trace info as well as update CLIENT_ flagsAndrey Hristov2014-07-161-1/+30
| | | |
* | | | Save some strlenXinchen Hui2014-06-261-5/+5
| | | |
* | | | Fixed invalid readXinchen Hui2014-06-191-2/+2
| | | |
* | | | Fixed MySQLi built with mysqlndXinchen Hui2014-06-191-1/+1
| | | |
* | | | Fixed various bugs (ext/mysql with mysqlnd tests pass)Xinchen Hui2014-06-181-1/+1
| | | |
* | | | Fixed segfault of stream handlingXinchen Hui2014-06-181-1/+1
| | | |
* | | | First set of phpng changes for mysqlndAndrey Hristov2014-05-201-35/+4
| | | |
* | | | Defensive checkAndrey Hristov2014-05-201-4/+4
| | | |
* | | | fix smart string usage (work in progress), ps: a lot of len tests are done ↵Pierre Joye2014-05-171-13/+13
|/ / / | | | | | | | | | twice or more, rooms for cleanup here
* | | Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6Andrey Hristov2014-04-101-29/+80
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: ext/mysqli/tests/mysqli_begin_transaction.phpt
| * \ \ Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-201-52/+71
| |\ \ \ | | |/ /
| | * | Emit a warning in case of unallowed characters. Fix another place thisAndrey Hristov2014-03-201-52/+71
| | | | | | | | | | | | | | | | code is used - reuse
| * | | Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-201-4/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | Conflicts: ext/mysqli/mysqli_api.c
| | * | don't replace with ?, just skip itAndrey Hristov2014-03-201-4/+1
| | | |
| * | | Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-191-12/+47
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.in ext/mysqli/mysqli_api.c main/php_version.h
| | * | Fix problem with mysqli_commt()/mysqli_rollback()Andrey Hristov2014-03-191-12/+47
| | | |
| | * | Bump yearXinchen Hui2014-01-031-1/+1
| | | |
* | | | New result fetching mode for mysqlnd, which should use less memory butAndrey Hristov2014-04-101-5/+56
|/ / / | | | | | | | | | | | | | | | | | | | | | implies more memory copy. The old method is still available and can be used. It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query() New mode can be forced with an INI setting, for all extensions that support this mode (ext/mysql and mysqli, because PDO due to it's architecture can't support it) The setting is mysqlnd.fetch_data_copy=[0|1]
* | | Switch from a single flag to a flag byteAndrey Hristov2014-03-101-5/+5
| | |
* | | Refactor the result set data structures. Move more to the buffered and ↵Andrey Hristov2014-03-051-2/+1
| | | | | | | | | | | | | | | | | | | | | unbuffered substructures. Add methods to these too. Preparing for pluggable interface for returning data to the engine (zvals, c-style, something else)
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2013-12-041-1/+1
|\ \ | |/
| * Fix loss of precisionAndrey Hristov2013-12-041-1/+1
| |
* | merge fixAndrey Hristov2013-11-261-13/+1
| |