Revision tags: php-5.3.2RC1, php-5.2.12 |
|
#
70690e11 |
| 15-Dec-2009 |
Andrey Hristov |
remove C++ comments |
#
523471f7 |
| 15-Dec-2009 |
Andrey Hristov |
export this function |
Revision tags: php-5.2.12RC4 |
|
#
a633de00 |
| 10-Dec-2009 |
Andrey Hristov |
bump version number |
#
00d76a84 |
| 10-Dec-2009 |
Andrey Hristov |
Add plugin storage for MYSQLND_STMT too |
#
06a417b6 |
| 09-Dec-2009 |
Andrey Hristov |
Remove stub code which never actually was used for anything. Things like this can be built on top of the core. |
#
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 |
|
#
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 |
|
#
629d8fe4 |
| 22-Oct-2009 |
Ulf Wendel |
Updating mysqlnd version number. |
Revision tags: php-5.3.1RC2 |
|
#
d8dc47d5 |
| 15-Oct-2009 |
Ulf Wendel |
Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761 |
Revision tags: oci8-1.4.0 |
|
#
2f81bcd4 |
| 30-Sep-2009 |
Andrey Hristov |
Fix ZTS build |
#
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 ...
|
#
20005db2 |
| 16-Sep-2009 |
Ulf Wendel |
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
show more ...
|
Revision tags: php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1 |
|
#
cac5325a |
| 03-Aug-2009 |
Andrey Hristov |
test 2 |
#
af22257b |
| 03-Aug-2009 |
Andrey Hristov |
test |
Revision tags: 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 |
|
#
0aada076 |
| 17-Jun-2009 |
Andrey Hristov |
MFH: Fix two problems: - The value of mysqli_get_client_info() has been changed recently and did not include "mysqlnd" anymore thus the test suite was thinking the build is always lib
MFH: Fix two problems: - The value of mysqli_get_client_info() has been changed recently and did not include "mysqlnd" anymore thus the test suite was thinking the build is always libmysql. This did not kept the suite from running pconn tests - Going back to the libc allocator because the memory arena could be on a persistent connections. If the build is not debug there will be no error but the memory will be freed and in the second use of this pconn freed memory will be used - not good! For now the arena doesn't take an argument whether it should allocate persistently or not, thus persistent is safe for now. Johannes gave his +1 to commit this.
show more ...
|
Revision tags: php-5.2.10, php-5.2.10RC2 |
|
#
11340cf2 |
| 11-Jun-2009 |
Johannes Schlüter |
MFH: Use a better extension version |
#
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 |
|
#
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, php-5.3.0RC1, RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3 |
|
#
ebef020e |
| 16-Feb-2009 |
Johannes Schlüter |
- MFH: Improve mysqlnd's internal method registration |
Revision tags: 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 |
|
#
d43b7b02 |
| 20-Nov-2008 |
Andrey Hristov |
MFH: Windows fixes for mysqlnd Less warnings + PHPAPI for mysqlnd_poll |
#
825034ce |
| 18-Nov-2008 |
Andrey Hristov |
MFH: Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll |
Revision tags: 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 |