Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-5.4' into PHP-5.5 | Xinchen Hui | 2013-01-06 | 1 | -1/+1 |
|\ | |||||
| * | Merge branch 'PHP-5.3' into PHP-5.4 | Xinchen Hui | 2013-01-06 | 1 | -1/+1 |
| |\ | |||||
| | * | bump year | Xinchen Hui | 2013-01-06 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-5.4' | Andrey Hristov | 2012-10-31 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.3' into PHP-5.4 | Andrey Hristov | 2012-10-31 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | read 1 instead of 2 bytes. The next 2 bytes are 2 and thus not a problem | Andrey Hristov | 2012-10-31 | 1 | -1/+1 |
| | | | |||||
| | * | assert | Andrey Hristov | 2012-02-02 | 1 | -1/+5 |
| | | | |||||
| | * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | - Move the field access behind the check | Johannes Schlüter | 2011-05-17 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | # Only called from one place where the connection is checked, but # playing safe, again (parfait) | ||||
| | * | remove unneeded includes | Andrey Hristov | 2011-03-22 | 1 | -1/+0 |
| | | | |||||
| | * | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | two new stats | Andrey Hristov | 2010-11-05 | 1 | -3/+6 |
| | | | |||||
| | * | rename parameter name - should not shadow the global symbol alloca | Andrey Hristov | 2010-10-05 | 1 | -23/+23 |
| | | | |||||
| | * | add some safe casts | Andrey Hristov | 2010-10-05 | 1 | -2/+2 |
| | | | |||||
| | * | fix types | Andrey Hristov | 2010-10-05 | 1 | -2/+2 |
| | | | |||||
| | * | fix two more warnings | Andrey Hristov | 2010-10-04 | 1 | -1/+1 |
| | | | |||||
| | * | WS fixes | Andrey Hristov | 2010-09-23 | 1 | -2/+2 |
| | | | |||||
| | * | Allocate memory in a burst mode, and later use it. Increases | Andrey Hristov | 2010-08-12 | 1 | -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 for | Andrey Hristov | 2010-08-12 | 1 | -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 cases | Andrey Hristov | 2010-06-21 | 1 | -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 32bit | Andrey Hristov | 2010-06-21 | 1 | -1/+1 |
| | | | |||||
| | * | fix type mismatch, this is fresh misunderstanding | Andrey Hristov | 2010-06-18 | 1 | -1/+1 |
| | | | |||||
| | * | split mysqlnd_connect() in two parts, one doing the authorization | Andrey Hristov | 2010-06-17 | 1 | -15/+0 |
| | | | |||||
| | * | Handle problems in the row_decoder, return type used to be void, | Andrey Hristov | 2010-05-31 | 1 | -5/+17 |
| | | | | | | | | | | | | | | | now it can return on problems. | ||||
| | * | Updating test to reflect the latest and more verbose mysqlnd error messages, ↵ | Ulf Wendel | 2010-05-31 | 1 | -5/+5 |
| | | | | | | | | | | | | updating mysqlnd error message as well. | ||||
| | * | Access memory which was really allocated | Andrey Hristov | 2010-05-25 | 1 | -25/+48 |
| | | | |||||
| | * | Export MYSQLND_PROTOCOL methods | Andrey Hristov | 2010-05-14 | 1 | -11/+26 |
| | | | |||||
| | * | OOM fixes | Andrey Hristov | 2010-05-14 | 1 | -1/+9 |
| | | | |||||
| | * | OOM stability fixes | Andrey Hristov | 2010-05-04 | 1 | -7/+18 |
| | | | |||||
| | * | Handle OOM in block_alloc_get_chunk, and also in the caller | Andrey Hristov | 2010-05-03 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | in mysqlnd_wireprotocol.c | ||||
| | * | Remove unused parameter | Andrey Hristov | 2010-05-03 | 1 | -2/+2 |
| | | | |||||
| | * | Handle OOM when resizing blocks during data fetch | Andrey Hristov | 2010-05-03 | 1 | -1/+5 |
| | | | |||||
| | * | Fix crash if OOM and USE_ZEND_ALLOC=0 | Andrey Hristov | 2010-04-29 | 1 | -1/+5 |
| | | | |||||
| | * | Fixed few buffer overflows reported by Stefan Esser. | Andrey Hristov | 2010-04-28 | 1 | -17/+34 |
| | | | |||||
| | * | const-ify fields | Andrey Hristov | 2010-04-28 | 1 | -5/+4 |
| | | | |||||
| | * | Hardening the reads of mysqlnd. | Andrey Hristov | 2010-04-20 | 1 | -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 place | Andrey Hristov | 2010-04-20 | 1 | -1/+1 |
| | | | |||||
| | * | It is possible that change user tries an user who has old password. | Andrey Hristov | 2010-04-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Instead of error message that doesn't say much there is more information now. | ||||
| | * | - Fix copyrights | Felipe Pena | 2010-04-20 | 1 | -2/+2 |
| | | | |||||
| | * | Last batch of int/uint comparison fixes | Andrey Hristov | 2010-04-15 | 1 | -3/+3 |
| | | | |||||
| | * | More int/uint comparison warning fixes | Andrey Hristov | 2010-04-15 | 1 | -8/+8 |
| | | | |||||
| | * | CS + WS changes | Andrey Hristov | 2010-04-15 | 1 | -43/+43 |
| | | | |||||
| | * | Fix for bug#49234 method not found ssl_set | Andrey Hristov | 2010-04-15 | 1 | -23/+25 |
| | | | | | | | | | | | | | | | Patch was tested and compiles on Windows. (Thanks Kalle) | ||||
| | * | Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but | Andrey Hristov | 2010-04-08 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | | because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything was converted to string, even if it was able to put it in a long. This closes Request #50651 Native type cast returns wrong result | ||||
| | * | Recommit with an Windows build fix: | Andrey Hristov | 2010-04-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Joye | 2010-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3 | ||||
| | * | Fix inconsistencies | Andrey Hristov | 2010-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) | ||||
| | * | Make it coupled - what is allocated with mnd_ should be freed | Andrey Hristov | 2010-03-29 | 1 | -15/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | with mnd_ and vice versa. Added mnd_pestrndup and mnd_pestrdup, which wrap the normal calls to be able to track this calls. Fixed some failing tests. | ||||
| | * | Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock | Andrey Hristov | 2010-03-26 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | as it is in when compiled from source and the default for mysqlnd. SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode (ext/mysql and ingres) needs the socket. Fix possible crashes in mysqlnd. When packets are shorter, functions should return error. | ||||
| | * | allow persistency of PS | Andrey Hristov | 2010-03-12 | 1 | -3/+4 |
| | | |