summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearXinchen Hui2015-01-151-1/+1
|
* Fix wrong lenght sizeAndrey Hristov2014-07-311-1/+1
|
* Fix indentationAndrey Hristov2014-03-101-2/+3
|
* Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2014-01-281-1/+2
|\
| * add text for the new constantsAndrey Hristov2014-01-281-1/+2
| |
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2013-11-261-0/+2
|\ \ | |/ | | | | | | | | Conflicts: NEWS ext/mysqlnd/mysqlnd.c
| * Fix for Bug #66141 (mysqlnd quote function is wrong with ↵Andrey Hristov2013-11-261-0/+2
| | | | | | | | NO_BACKSLASH_ESCAPES after failed query)
* | Add support for connect attributes, as of MySQL 5.6Andrey Hristov2013-01-151-1/+65
| |
* | 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
| | |
* | | Merge branch 'PHP-5.4'Andrey Hristov2012-10-311-1/+1
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Andrey Hristov2012-10-311-1/+1
| |\ \ | | |/
| | * read 1 instead of 2 bytes. The next 2 bytes are 2 and thus not a problemAndrey Hristov2012-10-311-1/+1
| | |
| | * assertAndrey Hristov2012-02-021-1/+5
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * - Move the field access behind the checkJohannes Schlüter2011-05-171-2/+1
| | | | | | | | | | | | | | | | | | # Only called from one place where the connection is checked, but # playing safe, again (parfait)
| | * remove unneeded includesAndrey Hristov2011-03-221-1/+0
| | |
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * two new statsAndrey Hristov2010-11-051-3/+6
| | |
| | * rename parameter name - should not shadow the global symbol allocaAndrey Hristov2010-10-051-23/+23
| | |
| | * add some safe castsAndrey Hristov2010-10-051-2/+2
| | |
| | * fix typesAndrey Hristov2010-10-051-2/+2
| | |
| | * fix two more warningsAndrey Hristov2010-10-041-1/+1
| | |
| | * WS fixesAndrey Hristov2010-09-231-2/+2
| | |
| | * Allocate memory in a burst mode, and later use it. IncreasesAndrey Hristov2010-08-121-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | locality of the data. Also use MYSQLND_INC_CONN_STATISTIC in one place, instead of two, thus removing code duplication from macro expansion - less code to fit in the instruction cache.
| | * Switch from using PHP_MAJOR_VERSION to separate define forAndrey Hristov2010-08-121-4/+4
| | | | | | | | | | | | | | | | | | unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again.
| | * Fix sprintf modifiers all around the place. In most casesAndrey Hristov2010-06-211-23/+22
| | | | | | | | | | | | | | | | | | %u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be the modifier
| | * fix valgrind warnings on 64bit, thread_is is strictly 32bitAndrey Hristov2010-06-211-1/+1
| | |
| | * fix type mismatch, this is fresh misunderstandingAndrey Hristov2010-06-181-1/+1
| | |
| | * split mysqlnd_connect() in two parts, one doing the authorizationAndrey Hristov2010-06-171-15/+0
| | |
| | * Handle problems in the row_decoder, return type used to be void,Andrey Hristov2010-05-311-5/+17
| | | | | | | | | | | | | | | now it can return on problems.
| | * Updating test to reflect the latest and more verbose mysqlnd error messages, ↵Ulf Wendel2010-05-311-5/+5
| | | | | | | | | | | | updating mysqlnd error message as well.
| | * Access memory which was really allocatedAndrey Hristov2010-05-251-25/+48
| | |
| | * Export MYSQLND_PROTOCOL methodsAndrey Hristov2010-05-141-11/+26
| | |
| | * OOM fixesAndrey Hristov2010-05-141-1/+9
| | |
| | * OOM stability fixesAndrey Hristov2010-05-041-7/+18
| | |
| | * Handle OOM in block_alloc_get_chunk, and also in the callerAndrey Hristov2010-05-031-0/+4
| | | | | | | | | | | | | | | in mysqlnd_wireprotocol.c
| | * Remove unused parameterAndrey Hristov2010-05-031-2/+2
| | |
| | * Handle OOM when resizing blocks during data fetchAndrey Hristov2010-05-031-1/+5
| | |
| | * Fix crash if OOM and USE_ZEND_ALLOC=0Andrey Hristov2010-04-291-1/+5
| | |
| | * Fixed few buffer overflows reported by Stefan Esser.Andrey Hristov2010-04-281-17/+34
| | |
| | * const-ify fieldsAndrey Hristov2010-04-281-5/+4
| | |
| | * Hardening the reads of mysqlnd.Andrey Hristov2010-04-201-45/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All packets but the row data packet are read into preallocated buffer, either on the stack or on the heap (cmd_buffer). The size of the buffer is always checked to skip buffer overruns. Only up to the size of the buffer is stored into the buffer but packet->header.size has the size of all data sent. In this case network layer bails. This patch hardenes the reads, so if packets are malformed and shorter than they should be there will be no further reads in the buffer. In short, detection of malformed packets.
| | * put the trigger in the right placeAndrey Hristov2010-04-201-1/+1
| | |
| | * It is possible that change user tries an user who has old password.Andrey Hristov2010-04-201-0/+1
| | | | | | | | | | | | | | | Instead of error message that doesn't say much there is more information now.
| | * - Fix copyrightsFelipe Pena2010-04-201-2/+2
| | |
| | * Last batch of int/uint comparison fixesAndrey Hristov2010-04-151-3/+3
| | |