summaryrefslogtreecommitdiff
path: root/ext/mysql/tests/connect.inc
Commit message (Collapse)AuthorAgeFilesLines
* Remove the deprecated MySQL extension.Adam Harvey2015-03-051-82/+0
| | | | Relevant RFC: https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7
* Remove executable permission on incXinchen Hui2012-10-101-0/+0
|
* Reverted changes in connect.inc based on Ulf's feedbackTjerk Anne Meesters2011-09-121-5/+0
| | | | | | | | | | | - 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.
* Patch to run two more mysql test cases that would usually be skipped.Tjerk Anne Meesters2011-09-041-2/+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
* 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.
* Fixing test: it didn't do a select_db and gave a false-positive with libmysqlUlf Wendel2009-11-051-4/+10
|
* 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
* Allow setting of default connection flags through the environment variable ↵Ulf Wendel2009-09-281-2/+6
| | | | MYSQL_TEST_CONNECT_FLAGS
* Trying to skip tests if they can't connect to the DB server.Ulf Wendel2007-10-121-1/+2
| | | | | | Currently they have failed by default. Note also the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE to control the default (skip or fail)
* Starting to merge the latest set of tests from the mysqlnd developmentUlf Wendel2007-10-101-6/+60
| | | | | tree into the PHP 5_3 tree.
* Add some testsMarcus Boerger2004-01-121-0/+10