summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_net.c
Commit message (Collapse)AuthorAgeFilesLines
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-71/+71
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* Merge branch 'PHP-5.6'Anatol Belski2014-08-271-1/+1
|\ | | | | | | | | | | * PHP-5.6: fixed DBG_INF macro name reworked NEWS for 5.6.0GA
| * Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-08-271-1/+1
| |\ | | | | | | | | | | | | * PHP-5.5: fixed DBG_INF macro name
| | * fixed DBG_INF macro nameAnatol Belski2014-08-271-1/+1
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-2/+2
| | |
* | | ported mysql and mysqlndAnatol Belski2014-08-191-1/+1
| | |
* | | cleanup (use zend_string* instead of char*)Dmitry Stogov2014-08-131-3/+3
| | |
* | | Merge remote-tracking branch 'origin/master' into phpngXinchen Hui2014-07-181-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: Zend/zend_compile.h ext/openssl/xp_ssl.c
| * \ \ Merge branch 'PHP-5.6'Andrey Hristov2014-07-161-0/+5
| |\ \ \ | | |/ / | | | | | | | | | | | | Conflicts: NEWS
| | * | Add some trace info as well as update CLIENT_ flagsAndrey Hristov2014-07-161-0/+5
| | | |
* | | | typoXinchen Hui2014-06-231-2/+2
| | | |
* | | | Fixed the trick....Xinchen Hui2014-06-231-9/+17
| | | |
* | | | Fixed segfault of stream handlingXinchen Hui2014-06-181-2/+2
| | | |
* | | | Second set of changes to mysqlnd for phpng.Andrey Hristov2014-05-201-11/+11
|/ / / | | | | | | | | | | | | | | | A bit problematic is that the streams seem not to be completely ported. Also there are some hacks in the streams about EG(regular_list) and EG(persistent_list) and these need to be carefully checked. The test suite should catch them, however.
* | | Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\ \ \ | |/ /
| * | Bump yearXinchen Hui2014-01-031-1/+1
| |/
* | Kill a TSRMLS_FETCH() in php_stream_context_set() by passing TSRMLS_CC to itKalle Sommer Nielsen2013-12-181-0/+8
|/ | | | # For mysqlnd: Relevant PHP_API_VERSION are put in place for cross version compatibility
* Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ | | | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\ \ | |/
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-061-1/+1
| |\
| | * bump yearXinchen Hui2013-01-061-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * Fix valgrind error (sending of initialized bytes over the network).Andrey Hristov2011-08-311-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the compression was successful the compressed data + uninitialized data at the end was sent to the server, because the length of the compressed payload wasn't correctly calculated (actually the length of the uncompressed payload as assumed). However, the uncompress() function has internally the length of the real payload and skips the binary trash at the end - thus no data damage occurs!
| | * Apply r315270 to 5.3Xinchen Hui2011-08-241-0/+11
| | | | | | | | | | | | | | | | | | Fixed test script failed when host mysql doesn't listen on 3306 Fxied test script failed due to mysql_pconnect trigger a warning
| | * - Move the access behind the check.Johannes Schlüter2011-05-161-2/+2
| | | | | | | | | | | | | | | # I can't find an unsafe call, but let's play safe
| | * remove unneeded includesAndrey Hristov2011-03-221-1/+0
| | |
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * count preciser in case of errorAndrey Hristov2010-12-151-3/+5
| | |
| | * fix recent TSRM build break, with --enable-debugAndrey Hristov2010-10-051-2/+2
| | |
| | * We do not need this TSRMLS_FETCH() call as we do not use any TSRM stuff in ↵Kalle Sommer Nielsen2010-10-041-1/+0
| | | | | | | | | | | | | | | | | | here, so we can get a minor boost here in ZTS mode.
| | * OPT_COMPRESS support for mysqlnd_conn::set_client_optionAndrey Hristov2010-09-011-3/+1
| | | | | | | | | | | | | | | To be used by mysqli_options
| | * Fix for Bug #51583 Bus error due to wrong alignment in mysqlndAndrey Hristov2010-07-151-1/+6
| | |
| | * Fix sprintf modifiers all around the place. In most casesAndrey Hristov2010-06-211-11/+11
| | | | | | | | | | | | | | | | | | %u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be the modifier
| | * fix type mismatch, this is fresh misunderstandingAndrey Hristov2010-06-181-1/+1
| | |
| | * Use only memory that has been allocatedAndrey Hristov2010-05-251-6/+7
| | |
| | * OOM fixesAndrey Hristov2010-05-141-1/+1
| | |
| | * Export the methods of MYSQLND_NETAndrey Hristov2010-05-131-12/+25
| | |
| | * Merge safe_mode changes into extensions that are in sync in both branchesKalle Sommer Nielsen2010-04-261-0/+4
| | |
| | * - Fix copyrightsFelipe Pena2010-04-201-2/+2
| | |
| | * CS + WS changesAndrey Hristov2010-04-151-8/+10
| | |
| | * Fix for bug#49234 method not found ssl_setAndrey Hristov2010-04-151-2/+183
| | | | | | | | | | | | | | | Patch was tested and compiles on Windows. (Thanks Kalle)
| | * Fix the Windows build (void* arithmetic) as well as --disable-zlibAndrey Hristov2010-04-061-0/+10
| | | | | | | | | | | | | | | build.
| | * Recommit with an Windows build fix:Andrey Hristov2010-04-061-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
| | * - revert revision 297277, break the builds (declaration must go 1st, size of ↵Pierre Joye2010-04-011-10/+10
| | | | | | | | | | | | void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
| | * Fix inconsistenciesAndrey Hristov2010-04-011-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
| | * Better fix for bug #51347 mysqli_close / connection memory leakAndrey Hristov2010-04-011-9/+8
| | |
| | * Fixed bug #51347 mysqli_close / connection memory leakAndrey Hristov2010-04-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Streams API registers every stream as resource, which lands then in EG(regular_list), however doesn't clean that when the stream is closed. At the end this is a para-leak. At the end of the script all memory is cleaned, however this is a problem for long runnig scripts that open connections. For every opened and closed connection about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost", according to memory_get_usage().