php-src/ext/mysqlnd
Andrey Hristov c2e66884e1 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.
2009-09-17 15:13:14 +00:00
..
config9.m4 MFH The experimental warning sohuld be in the configure output... 2009-06-23 13:19:28 +00:00
config-win.h MFB: More Windows types cleanup 2008-11-06 18:48:55 +00:00
config.w32 Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled 2008-05-14 03:13:17 +00:00
CREDITS Import mysqlnd 2007-10-05 21:23:56 +00:00
mysqlnd_alloc.c MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_block_alloc.c Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
mysqlnd_block_alloc.h Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
mysqlnd_charset.c Fix a typo, utf8 is 3 byte max, for us, for now 2009-05-26 13:41:18 +00:00
mysqlnd_charset.h MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_debug.c Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
mysqlnd_debug.h MFH Fix #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init at 2009-03-30 13:55:47 +00:00
mysqlnd_enum_n_def.h Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) 2009-08-27 13:16:39 +00:00
mysqlnd_libmysql_compat.h MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x 2009-05-29 13:09:47 +00:00
mysqlnd_loaddata.c MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_palloc.c Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
mysqlnd_palloc.h MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_portability.h MFH: fix of the fix 2009-08-25 14:32:10 +00:00
mysqlnd_priv.h 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. 2009-09-16 17:03:44 +00:00
mysqlnd_ps_codec.c MFH:Fix a problem with cursors, which did not happen with unbuffered PS for 2009-05-28 16:35:41 +00:00
mysqlnd_ps.c Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
mysqlnd_qcache.c MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_result_meta.c Next attempt to fix http://bugs.php.net/bug.php?id=48745. Patch by Andrey. 2009-09-09 17:03:03 +00:00
mysqlnd_result_meta.h MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_result.c Fix for bug#48745 2009-08-28 09:30:16 +00:00
mysqlnd_result.h MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
mysqlnd_statistics.c Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) 2009-08-27 13:16:39 +00:00
mysqlnd_statistics.h MFH: 2009-06-12 13:24:57 +00:00
mysqlnd_structs.h Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) 2009-08-27 13:16:39 +00:00
mysqlnd_wireprotocol.c MFH, a fix not included by the fix committed by Ulf. 2009-09-17 15:13:14 +00:00
mysqlnd_wireprotocol.h Next attempt to fix http://bugs.php.net/bug.php?id=48745. Patch by Andrey. 2009-09-09 17:03:03 +00:00
mysqlnd.c 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. 2009-09-16 15:00:54 +00:00
mysqlnd.h 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. 2009-09-16 17:03:44 +00:00
php_mysqlnd.c 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. 2009-09-16 15:00:54 +00:00
php_mysqlnd.h MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00