summaryrefslogtreecommitdiff
path: root/ext/mysql
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-013-3/+3
|
* Deprecate ext/mysql.Adam Harvey2012-12-1066-17/+193
| | | | | | | | | | Per https://wiki.php.net/rfc/mysql_deprecation, connecting to a MySQL database via ext/mysql now generates an E_DEPRECATED error. This commit includes the minimal EXPECTF updates required for the test suite to pass: it may be preferable to refactor some of the tests to suppress deprecation errors in situations where no other error is expected from mysql_[p]connect(), but I'm not enough of a MySQL expert to want to get my hands that dirty in a long standing test suite.
* Deprecating undocumented function alias, related to bug #63295ULF WENDEL2012-10-233-20/+512
|
* Merge branch 'PHP-5.4'Johannes Schlüter2012-10-171-0/+7
|\
| * Merge branch 'PHP-5.3' into PHP-5.4Johannes Schlüter2012-10-171-0/+7
| |\
| | * Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3Andrey Hristov2012-10-179-4/+8
| | |\
| | * | fix compilation failure on 32/64bit linux systems, when libmysql is usedAndrey Hristov2012-10-171-0/+7
| | | | | | | | | | | | | | | | with ext/mysql
* | | | Merge branch 'PHP-5.4'ULF WENDEL2012-09-292-4/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-5.4: - BFN Minor changes for MySQL 5.6 NEWS for 76601c4
| * | | Merge branch 'PHP-5.3' into PHP-5.4ULF WENDEL2012-09-292-4/+8
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.3: Minor changes for MySQL 5.6 NEWS for 76601c4 Conflicts: NEWS
| | * | Minor changes for MySQL 5.6ULF WENDEL2012-09-292-4/+8
| | | |
* | | | Merge branch 'PHP-5.4'Xinchen Hui2012-10-103-0/+0
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-103-0/+0
| |\ \ \ | | |/ /
| | * | Remove executable permission on incXinchen Hui2012-10-103-0/+0
| | | |
* | | | Merge branch 'PHP-5.4'Xinchen Hui2012-10-104-0/+0
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-104-0/+0
| |\ \ \ | | |/ /
| | * | Remove executable permission on phptXinchen Hui2012-10-104-0/+0
| | |/
| | * skip test properlyXinchen Hui2012-08-211-2/+1
| | |
| | * - Year++Felipe Pena2012-01-013-3/+3
| | |
| | * Reverted changes in connect.inc based on Ulf's feedbackTjerk Anne Meesters2011-09-124-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Moved the ini_set() entries into a separate script 'setupdefault.inc' - Let mysql_affected_rows and mysql_insert_id test cases use the newly created script With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios. Tested on all three dev lines with and without passing db credentials. No changes detected.
| | * skip these tests if can't connect to mysqlFerenc Kovacs2011-09-084-2/+10
| | |
| | * Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if ↵Ulf Wendel2011-09-061-3/+10
| | | | | | | | | | | | open_basedir setting is too restrictive during test run for whatever reason.
| | * Patch to run two more mysql test cases that would usually be skipped.Tjerk Anne Meesters2011-09-044-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | Replaced skipifdefaultconnectionfailure.inc by three additional ini_set() statements in connect.inc for the default connection settings Patch also includes a typo in connect.inc concerning mysql.default_socket
| | * Coverage for bug#54704, of which I think it is bogus, thus no dedicated test.Ulf Wendel2011-09-021-0/+17
| | |
| | * Fixing error handling. Skip if load data is not allowedUlf Wendel2011-09-011-9/+27
| | |
| | * Can't reproduce the server has gone away messages, Andrey. Please, have a ↵Ulf Wendel2011-09-011-30/+33
| | | | | | | | | | | | look. I tried MySQL 5.1, 5.5 and 5.6.
| | * - Fix Bug #55550 mysql.trace_mode miscounts result sets,Johannes Schlüter2011-08-311-0/+4
| | | | | | | | | | | | | | | fixes ext/mysql/tests/mysql_deprecated_api.phpt
| | * Apply r315270 to 5.3Xinchen Hui2011-08-242-2/+9
| | | | | | | | | | | | | | | | | | Fixed test script failed when host mysql doesn't listen on 3306 Fxied test script failed due to mysql_pconnect trigger a warning
| | * Don't run the test on windows, Unix specificAndrey Hristov2011-08-221-0/+3
| | |
| | * Fix Bug #55473 mysql_pconnect leaks file descriptors on reconnectAndrey Hristov2011-08-221-0/+68
| | | | | | | | | | | | | | | | | | The fix is for now in 5_4 and trunk, to be merged into 5_3 after 5.3.8 is packaged (expected today). The test case goes to all branches
| | * - 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.