summaryrefslogtreecommitdiff
path: root/ext/mysql
Commit message (Collapse)AuthorAgeFilesLines
...
* MFH:Fix for bug#48754 mysql_close() crash php when no handle specifiedAndrey Hristov2009-09-182-7/+101
|
* Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library ↵Ulf Wendel2009-09-161-0/+37
| | | | (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.
* Some extra test coverage for http://bugs.php.net/bug.php?id=48754 . Ulf Wendel2009-09-091-9/+22
|
* Next attempt to fix http://bugs.php.net/bug.php?id=48745. Patch by Andrey.Ulf Wendel2009-09-092-11/+38
|
* fix testsAntony Dovgal2009-08-293-0/+13
|
* Fix a few more testsRasmus Lerdorf2009-08-033-11/+11
|
* Given that we have a DB connection by the time we get here,Rasmus Lerdorf2009-08-031-2/+2
| | | | | mysql_affected_rows() cannot return false.
* MFH. Fixing tests to run with SQL_MODE=ANSI_QUOTES as well.Ulf Wendel2009-07-076-19/+19
|
* MFH. Global s/ini_get('unicode.semantics')/version check/ . Early PHP 6 ↵Ulf Wendel2009-07-0313-19/+19
| | | | times are gone. I hope unicode logic will not change any more
* MFH. Adding CLEAN sections, fixing some SKIPIF sections. Cool new ↵Ulf Wendel2009-07-0243-46/+307
| | | | run-tests.php, Zoe (and other) - its a great help to detect stinky SKIPIF and CLEAN
* MFH - Test for bug #48754Ulf Wendel2009-07-021-4/+16
|
* MFH - Changing tests to run with both PHP 6 and PHP 5.3 to make future MFH ↵Ulf Wendel2009-07-0125-954/+319
| | | | easier. Basically three changes over all files: a) s/unicode(/%unicode|string% b) s/[u/[%u|b% c) s/unicode.semantics/version_compare
* MFH: Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysqlKalle Sommer Nielsen2009-05-201-1/+1
|
* MFH: mysql_db_query() is always deprecatedJohannes Schlüter2009-03-252-6/+4
|
* fix testAntony Dovgal2009-02-191-8/+7
|
* MFH: Fix #47438 mysql_fetch_field ignores zero offseJohannes Schlüter2009-02-182-1/+40
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-314-4/+4
|
* MFH: Fix mysql_fetch_* and tests after param parsing changesJohannes Schlüter2008-12-014-12/+10
|
* MFH: New param parsing for ext/mysqlJohannes Schlüter2008-11-2824-518/+353
|
* Fixed bug #46409 (__invoke method called outside of object context when ↵Dmitry Stogov2008-11-271-2/+2
| | | | using array_map)
* Fixed compiler warningIlia Alshanetsky2008-10-271-1/+1
|
* MFH:Andrey Hristov2008-10-271-1/+25
| | | | | | | Warning if the library API version differs from the headers used to compile. Patch versions are not considered but major.minor Fix build of ext/mysql with 4.0.x and pre.
* MFH: initialize optional varsArnaud Le Blanc2008-10-211-3/+3
|
* MFH: No mysqli stuff in ext/mysqlJohannes Schlüter2008-09-292-15/+4
|
* Re-add mysql_set_charset. Missed during introduction of mysqlnd. Exists inAndrey Hristov2008-08-062-2/+37
| | | | | HEAD, thus no merge
* Fixed uninitialised dataDmitry Stogov2008-07-251-0/+1
|
* MFH: Two less failing tests, one of which was definitely a leak in mysqli ↵Andrey Hristov2008-07-221-0/+3
| | | | | | | with mysqlnd and pconn. ext/mysql is being fixed with a better fix for similar leak.
* MFH: Fix a leak with pconn and mysqlndAndrey Hristov2008-07-221-0/+8
|
* Fix for bug#45179 --with-mysql-sock fails to compile & workAndrey Hristov2008-07-213-3/+14
| | | | | | | Now --with-mysql-sock controls all mysql extensions. If provided it will be the default value as it was set in php.ini . php.ini will override it for ext/mysql and ext/mysqli but not for pdo_mysql
* Sync with bzrAndrey Hristov2008-07-151-2/+4
|
* fix skipif sectionsAntony Dovgal2008-07-131-1/+1
|
* Fix remaining valgrind problems with pconn and zval cacheAndrey Hristov2008-06-241-8/+19
| | | | | HEAD merge will follow tomorrow.
* Fix double-free, introduced latelyAndrey Hristov2008-06-241-3/+7
|
* Fix possible bug with persistent connections and mysqlndAndrey Hristov2008-06-241-1/+1
|
* - do not enable an ext when a lib/header failsPierre Joye2008-06-231-6/+10
| | | | | | - use MESSAGE in mysql* - use correct CFLAGS for ext/libxml headers
* Fixed testDmitry Stogov2008-06-111-1/+1
|
* Fixed testDmitry Stogov2008-06-111-1/+1
|
* Update ext/mysql's and ext/mysqli's testsAndrey Hristov2008-04-242-3/+6
| | | | | | Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature.
* MFB: Update CVS from the development treeAndrey Hristov2008-04-161-3/+3
|
* Fix snapshot buildAndrey Hristov2008-04-081-6/+8
|
* remove duplicated sectionsNuno Lopes2008-03-171-15/+1
|
* MFH: New way for check void parametersFelipe Pena2008-03-101-2/+2
|
* Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with ↵Andrey Hristov2008-03-104-39/+40
| | | | | | | | different configurations one or the another extension to use libmysql or mysqlnd mixed in one binary
* - Fix a warning in php_mysql.cAndrey Hristov2008-03-101-1/+1
| | | | | - Fixed #44371 Extension compile failed
* - MFH: Fix typo in skipifJohannes Schlüter2008-03-091-2/+2
|
* Fix testFelipe Pena2008-03-081-2/+2
|
* Bug fixed in 5.0.46Andrey Hristov2008-03-081-2/+2
|
* MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)Felipe Pena2008-03-041-1/+1
|
* - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)Marcus Boerger2008-02-231-2/+2
| | | | | [DOC] Finally added deprecation messages
* - MFH: Make clear what's going on and avoid overwriting parametersJohannes Schlüter2008-02-121-9/+13
|