summaryrefslogtreecommitdiff
path: root/ext/mysql
Commit message (Collapse)AuthorAgeFilesLines
* - Added ZEND_MOD_END macro to use in the end of zend_module_dep[]Felipe Pena2011-08-061-1/+1
|
* completely compile out a currently non-needed functionAndrey Hristov2011-08-021-2/+2
|
* - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
|
* - handle out of memoryJohannes Schlüter2011-05-181-0/+3
|
* Fixed variable re-declarationsIlia Alshanetsky2011-02-141-7/+7
|
* Handle deprecation messages differently in tests to reduce test differences ↵Ulf Wendel2011-01-255-18/+91
| | | | between 5.3 and trunk: suppress warnings by default, check warnings in a dedicated test
* fix more parameter stuff, now it is completeAndrey Hristov2011-01-141-2/+3
|
* pass data which is availableAndrey Hristov2011-01-141-1/+1
|
* Proper fix forAndrey Hristov2011-01-071-0/+53
| | | | | | | | | Bug #53503 mysqli::query returns false after successful LOAD DATA query which fixes als #56349, same behavior but in ext/mysql. Both due to a bug in mysqlnd. Never was a problem with libmysql. Also fixed the 53503's test case as it always reported PASS, even when there should have been a failure.
* - Year++Felipe Pena2011-01-013-3/+3
|
* Fix constness warningsKalle Sommer Nielsen2010-10-051-2/+2
|
* Trying to fix compiler warnings (on Windows).Ulf Wendel2010-10-041-2/+2
|
* Sorry again, nothing but removal of white space from the end of the lines.Ulf Wendel2010-10-041-75/+75
| | | | | | - fix compile warning "ext/mysql/php_mysql.c:640:11: warning: extra tokens at end of #ifdef directive"
* Plug a leak in mysqli when in the same scriptAndrey Hristov2010-09-301-2/+2
| | | | | | | a pconn is reused. Call end_psession earlier - so will mysqlnd and the plugins free data earlier.
* Fixed bug #52636 (php_mysql_fetch_hash writes long value into int)Kalle Sommer Nielsen2010-08-181-1/+1
| | | | # Tested by rein at basefarm dot no
* Update with PHP_DEF_FE, also update the testAndrey Hristov2010-08-172-1/+3
|
* - Fix arginfo nameFelipe Pena2010-06-281-1/+1
|
* - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments ↵Felipe Pena2010-06-261-19/+19
| | | | for function aliases)
* Don't bail if there is another extension that exports constants starting ↵Ulf Wendel2010-06-181-1/+1
| | | | with mysql<something>
* Make the tests pass with sql strict mode enabledUlf Wendel2010-06-082-5/+15
|
* Handle the situation when mysql_init()/mysqlnd_init()Andrey Hristov2010-05-251-2/+10
| | | | | return NULL. It is a rare case of OOM but PHP shouldn't crash, if possible.
* - Added arginfoFelipe Pena2010-05-201-47/+148
|
* Remove duplicated code.Andrey Hristov2010-05-181-43/+1
| | | | | Use one centralized functions for data extraction.
* Merge safe_mode changes into extensions that are in sync in both branchesKalle Sommer Nielsen2010-04-262-1/+4
|
* Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sockAndrey Hristov2010-03-261-1/+3
| | | | | | | | | as it is in when compiled from source and the default for mysqlnd. SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode (ext/mysql and ingres) needs the socket. Fix possible crashes in mysqlnd. When packets are shorter, functions should return error.
* Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, ↵Adam Harvey2010-03-092-0/+43
| | | | but 0).
* Fix bug#50416Andrey Hristov2010-02-081-0/+3
| | | | | PROCEDURE db.myproc can't return a result set in the given context
* The internal zval cache has been removed and not been reintroduced... remove ↵Ulf Wendel2010-01-041-4/+3
| | | | corresponding test code
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-033-3/+3
|
* Remove stub code which never actually was used for anything.Andrey Hristov2009-12-092-10/+0
| | | | | Things like this can be built on top of the core.
* Remove the zval caching from mysqlnd. It was disabled versions agoAndrey Hristov2009-12-092-38/+4
| | | | | | due to problems on windows, which were not debugged. Better have code that is disabled not in the core.
* - Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored ↵Jani Taskinen2009-11-301-12/+11
| | | | when mysqlnd is enabled)
* - Revert bad patchJani Taskinen2009-11-291-12/+11
|
* socket location needs to be checked before mysqlnd in order for ↵Gwynne Raskind2009-11-281-11/+12
| | | | --with-mysql-sock to work with mysqlnd
* Fixing test: of course, libmysql won't care about open_basedir, but mysqlnd ↵Ulf Wendel2009-11-051-1/+4
| | | | should
* Fixing test: it didn't do a select_db and gave a false-positive with libmysqlUlf Wendel2009-11-052-16/+14
|
* Skipping if MySQL old password algorithm is in use as it seems to be the ↵Ulf Wendel2009-11-041-0/+13
| | | | case on gcov.php.net
* Fixing typo in SKIPIF and partly skipping tests if using remote MySQL ↵Ulf Wendel2009-10-201-0/+8
| | | | because LOAD LOCAL INFILE will fail
* Making test pass when MySQL runs on Win*Ulf Wendel2009-10-201-8/+12
|
* Bail if connect.inc gets included twice. Including twice is most likely a ↵Ulf Wendel2009-10-201-19/+23
| | | | 'bug'. See also http://news.php.net/php.cvs/60720
* Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd.Ulf Wendel2009-09-302-2/+9
|
* Allow setting of default connection flags through the environment variable ↵Ulf Wendel2009-09-282-3/+7
| | | | MYSQL_TEST_CONNECT_FLAGS
* Fixing testUlf Wendel2009-09-221-24/+48
|
* 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.