summaryrefslogtreecommitdiff
path: root/ext/mysql/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2014-06-201-1/+1
|\ | | | | | | | | * PHP-5.4: Fixed MarinaDB support
| * Fixed MarinaDB supportDmitry Stogov2014-06-201-1/+1
| |
* | fix mysql tests & mark nextRowset problematic testsStanislav Malyshev2013-08-241-0/+8
| |
* | Fix mysql_list_fields.phpt testNikita Popov2013-03-241-1/+1
| | | | | | | | | | The minimum length is given in bytes, so it is charset dependent. For utf8 charsets for example it's 3 rather than 1.
* | Fix version check in testNikita Popov2013-03-241-3/+3
| |
* | Deprecate ext/mysql.Adam Harvey2012-12-1065-17/+189
| | | | | | | | | | | | | | | | | | | | 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-232-0/+492
| |
* | 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
| | |
| | * 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.
| | * 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
| | * 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
| | * 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.
| | * Update with PHP_DEF_FE, also update the testAndrey Hristov2010-08-171-0/+2
| | |
| | * 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
| | |
| | * Merge safe_mode changes into extensions that are in sync in both branchesKalle Sommer Nielsen2010-04-261-1/+0
| | |
| | * 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.
* | | Merge branch 'PHP-5.4'Xinchen Hui2012-08-211-1/+0
|\ \ \ | |/ /
| * | skip test properlyXinchen Hui2012-08-211-1/+0
| | |
| * | TypoRasmus Lerdorf2011-11-111-1/+1
| | |
| * | Suppress lsof warnings here to avoid FUSE-related Rasmus Lerdorf2011-11-111-4/+4
| | | | | | | | | | | | | | | | | | warnings in certain environments. This doesn't affect what is being tested.
| * | 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
| | |
| * | improve open_basedir handlingStanislav Malyshev2011-09-061-8/+2
| | |
| * | Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if ↵Ulf Wendel2011-09-061-4/+12
| | | | | | | | | | | | open_basedir setting is too restrictive during test run for whatever reason.
| * | fix testStanislav Malyshev2011-09-061-2/+1
| | |
| * | 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-26/+29
| | | | | | | | | | | | look. I tried MySQL 5.1, 5.5 and 5.6.
| * | Eliminated compile warning "comparison is always false due to limited range ↵Xinchen Hui2011-08-242-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | of data type" Fixed test failed due to mysql_pconnect throw warning Fixed test failed when host mysql server doesn't listen on 3306
| * | 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