#
5143fe41 |
| 20-Nov-2009 |
Andrey Hristov |
Compressed protocol support + extensibility for mysqlnd
|
Revision tags: php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3, php-5.3.1RC2 |
|
#
ab4670ee |
| 15-Oct-2009 |
Ulf Wendel |
Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.
|
Revision tags: oci8-1.4.0 |
|
#
2f81bcd4 |
| 30-Sep-2009 |
Andrey Hristov |
Fix ZTS build
|
#
c2e66884 |
| 17-Sep-2009 |
Andrey Hristov |
MFH, a fix not included by the fix committed by Ulf. pemalloc and then efree - too bad! Sorry for committing in two passes, my big tree is already patched with compressed.
|
#
e6cf6693 |
| 16-Sep-2009 |
Ulf Wendel |
Fix (by Andrey) and test for bug #49442 . Don't use efree() for memory allocated with malloc()... If a connection gets created by mysqli_init(), mysqlnd makes it 'persistent'. 'Persistent' means that
Fix (by Andrey) and test for bug #49442 . Don't use efree() for memory allocated with malloc()... If a connection gets created by mysqli_init(), mysqlnd makes it 'persistent'. 'Persistent' means that mysqlnd uses malloc(). mysqlnd does use malloc() instead of ealloc() because it is unknown if the connection will become a true persistent connection in the sense of ext/mysqli. It is unknown if the user wants a persistent connection or not until the user calls mysqli_real_connect(). To avoid tricky conversions mysqlnd uses malloc(), which sets a private persistent flag in the mysqlnd structures. A precondition for the crash to happen was that the private persistent flag is set. The flag is also set when creating a real persistent connection (in the sense of ext/mysqli) and so the bug can happen with mysql_init()/mysqli_real_connect() and mysql_connect('p:<host>', ...). Therefore we test both cases. Note the (tricky?) difference between the implementation detail'mysqlnd private persistent flag = use malloc()' and persistent connections from a user perspective. Although mysqlnd will always set its private persistent flag and use malloc() for connections created with mysqli_init() it is still up to the user to decide in mysqli_real_connect() if the connection shall become a (true) persistent connection or not.
show more ...
|
Revision tags: php-5.2.11, php-5.2.11RC3 |
|
#
5f260e14 |
| 09-Sep-2009 |
Ulf Wendel |
Next attempt to fix http://bugs.php.net/bug.php?id=48745. Patch by Andrey.
|
Revision tags: php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1, php-5.3.0 |
|
#
81761e63 |
| 28-Jun-2009 |
Johannes Schlüter |
Fix path
|
#
a68f6c9c |
| 28-Jun-2009 |
Pierre Joye |
- fix build
|
#
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 |
|
#
27270621 |
| 16-Jun-2009 |
Andrey Hristov |
MFH: Hardwire function call instead of using callbacks. We don't actually need callbacks, it was done for making 2 functions static, not to pollute the global functions space but that had
MFH: Hardwire function call instead of using callbacks. We don't actually need callbacks, it was done for making 2 functions static, not to pollute the global functions space but that had its price of 8 bytes overheat per allocation, which is just too much. Also making the app member 32b instead of 64b, which should save additional 4 byte, to the total of 12 byte per allocation of a row buffer.
show more ...
|
#
22c87864 |
| 12-Jun-2009 |
Andrey Hristov |
MFH: Fix crash when tracing is enabled. Position after buffer was used also direct usage of MYSQLND_STRING pointer instead of the "s" property of the structure.
|
#
9a2cc0ce |
| 11-Jun-2009 |
Andrey Hristov |
Put these in an ifdef because they are not used at all if the zval cache is off.
|
#
f2fcd8fb |
| 11-Jun-2009 |
Pierre Joye |
- silent warning and make it less ambiguous
|
Revision tags: php-5.2.10RC2 |
|
#
cff09ba5 |
| 11-Jun-2009 |
Andrey Hristov |
MFH: Check the pointer before calling a function on it, or we will crash. This is a very rare situation where the server is totally broken.
|
#
a3b85c28 |
| 11-Jun-2009 |
Andrey Hristov |
Sync with PHP6 - TSRMLS_FETCH Extract reference decrement in own function Remove PHPAPI of a function and make it static as it is not called externally
|
Revision tags: php-5.3.0RC3 |
|
#
ec777b89 |
| 08-Jun-2009 |
Andrey Hristov |
Merge with HEAD. Someone committed changes to HEAD and did not merge back to the branch. Also switch off the zval cache, for now.
|
Revision tags: php-5.2.10RC1, php-5.3.0RC2, 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 |
|
#
737c3c89 |
| 06-Nov-2008 |
Andrey Hristov |
MFB: More Windows types cleanup
|
#
91865289 |
| 06-Nov-2008 |
Andrey Hristov |
MFH: Get rid of many defines (which simplifies the code a lot), as well as uint->unsigned int
|
#
77c1e145 |
| 31-Oct-2008 |
Andrey Hristov |
MFB: 64bit fixes: - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs.
|
Revision tags: php-5.2.7RC2, php-5.2.7RC1 |
|
#
b429a84c |
| 16-Sep-2008 |
Andrey Hristov |
MFH: Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for STAT_LAST was accessing wrong memory thus overwritting method pointers. Windows doesn't have atoll(
MFH: Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for STAT_LAST was accessing wrong memory thus overwritting method pointers. Windows doesn't have atoll(), which is C99, C89 has only atoi() + atol(). Win has _atoi64, so use it.
show more ...
|
#
8bb2465a |
| 15-Sep-2008 |
Andrey Hristov |
MFH: Add float conversions too. Float users should understand how float works!!!
|
#
5f7bd521 |
| 15-Sep-2008 |
Andrey Hristov |
MFH:Compile-in a string-to-int conversion for INT columns by default, controlled by a ini setting.
|
#
99ea8068 |
| 12-Sep-2008 |
Andrey Hristov |
MFH: - More statistics - Fixed endless loop - mysqlnd_stmt_next_result() returned FAIL but as it is defined to be 1 (and PASS is 0), checking for mysqlnd_stmt_more_result() was su
MFH: - More statistics - Fixed endless loop - mysqlnd_stmt_next_result() returned FAIL but as it is defined to be 1 (and PASS is 0), checking for mysqlnd_stmt_more_result() was successful although we were expecting a FAIL.
show more ...
|
Revision tags: php-4.4.9, php-5.3.0alpha1 |
|
#
2c54b3ab |
| 22-Jul-2008 |
Andrey Hristov |
More debugging info for the trace log
|