#
92698a33 |
| 06-Apr-2010 |
Andrey Hristov |
Fix the Windows build (void* arithmetic) as well as --disable-zlib build.
|
#
798103d4 |
| 06-Apr-2010 |
Andrey Hristov |
Fix the Windows build (void* arithmetic) as well as --disable-zlib build.
|
#
3cb852fe |
| 06-Apr-2010 |
Andrey Hristov |
Stricly C
|
#
dda0320c |
| 06-Apr-2010 |
Andrey Hristov |
Stricly C
|
#
b8484a2e |
| 06-Apr-2010 |
Andrey Hristov |
Recommit with an Windows build fix: Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator
Recommit with an Windows build fix: 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)
show more ...
|
#
aa8f43fa |
| 06-Apr-2010 |
Andrey Hristov |
Recommit with an Windows build fix: Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator
Recommit with an Windows build fix: 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)
show more ...
|
#
96e2651f |
| 01-Apr-2010 |
Pierre Joye |
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
show more ...
|
#
d339672e |
| 01-Apr-2010 |
Andrey Hristov |
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).
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)
show more ...
|
#
f534df71 |
| 01-Apr-2010 |
Andrey Hristov |
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).
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)
show more ...
|
#
94cd357f |
| 29-Mar-2010 |
Andrey Hristov |
Make it coupled - what is allocated with mnd_ should be freed with mnd_ and vice versa. Added mnd_pestrndup and mnd_pestrdup, which wrap the normal calls to be able to track this calls.
Make it coupled - what is allocated with mnd_ should be freed 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.
show more ...
|
#
4870cac7 |
| 29-Mar-2010 |
Andrey Hristov |
Make it coupled - what is allocated with mnd_ should be freed with mnd_ and vice versa. Added mnd_pestrndup and mnd_pestrdup, which wrap the normal calls to be able to track this calls.
Make it coupled - what is allocated with mnd_ should be freed 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.
show more ...
|
#
981ba006 |
| 17-Mar-2010 |
Andrey Hristov |
Fix for complaint from the Zend MM, efree of a NULL pointer.
|
Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1 |
|
#
d9449d44 |
| 21-Jan-2010 |
Andrey Hristov |
decrement correctly!
|
#
2d7ca039 |
| 21-Jan-2010 |
Andrey Hristov |
Add possibility to restrain the number of levels
|
#
f551c57c |
| 14-Jan-2010 |
Andrey Hristov |
Fix compiler warning
|
#
176e6dd2 |
| 13-Jan-2010 |
Andrey Hristov |
make mysqlnd's tracing API more reusable
|
Revision tags: php-5.3.2RC1, php-5.2.12, php-5.2.12RC4 |
|
#
6f598e62 |
| 09-Dec-2009 |
Andrey Hristov |
Remove the zval caching from mysqlnd. It was disabled versions ago due to problems on windows, which were not debugged. Better have code that is disabled not in the core.
|
#
4d273500 |
| 09-Dec-2009 |
Andrey Hristov |
Remove disabled code - threaded fetching. This can be implemented on a upper level and by offloading it we reduce the complexity of the core.
|
Revision tags: php-5.2.12RC3, php-5.2.12RC2, php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3, php-5.3.1RC2, oci8-1.4.0, php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1, php-5.3.0 |
|
#
9485cad6 |
| 25-Jun-2009 |
Johannes Schlüter |
Revert mysqlnd to RC3 state after issues with pconnects
|
Revision tags: php-5.3.0RC4, php-5.2.10 |
|
#
10ee06ca |
| 16-Jun-2009 |
Andrey Hristov |
MFH: Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the Zend allocator, which means that is easier to hit memory_limit if you have big stored (buffered) result sets.
MFH: Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the Zend allocator, which means that is easier to hit memory_limit if you have big stored (buffered) result sets. Before with libmysql you won't hit memory_limit because libmysql uses libc's allocator and nothing is checked. Now, with mysqlnd the situation is stricter and it is easier to hit memory_limit. We try to optimize for big result sets. If a result set is larger than 10 rows we will start freeing some data to keep memory usage after 10 rows constant. This will help in the cases where a buffered result set is scrolled forward only and just only once, or mysqlnd will need to decode data from the network buffers again - yes, it is a trade-off between CPU time and memory size. The best for big result sets is of course using unbuffered queries - for comparison : 3 Million rows with buffered take at least 180MB, with buffered you will stay at 3MB, and unbuffered will be just 7-8% slower.
show more ...
|
Revision tags: php-5.2.10RC2, php-5.3.0RC3 |
|
#
6c4e8fa4 |
| 28-May-2009 |
Andrey Hristov |
MFH: Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised function was called, which however, doesn't respect that during store the raw data is not unpacked, to be la
MFH: Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised function was called, which however, doesn't respect that during store the raw data is not unpacked, to be lazy. The data is unpacked to zvals later, during every row fetch. However, this way max_length won't be calculated correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to unpack everything and then calculate max_length...and that is expensive, defies our lazy unpacking optimisation.
show more ...
|
Revision tags: php-5.2.10RC1, php-5.3.0RC2 |
|
#
dcd86aeb |
| 30-Mar-2009 |
Felipe Pena |
- MFH: Removed UG(unicode) checks
|
#
bcb40030 |
| 30-Mar-2009 |
Johannes Schlüter |
MFH Fix #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init at startup)
|
Revision tags: php-5.3.0RC1, RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1 |
|
#
08659c2d |
| 31-Dec-2008 |
Sebastian Bergmann |
MFH: Bump copyright year, 3 of 3.
|
Revision tags: NEWS, php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4, BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3 |
|
#
91865289 |
| 06-Nov-2008 |
Andrey Hristov |
MFH: Get rid of many defines (which simplifies the code a lot), as well as uint->unsigned int
|