Commit Graph

5 Commits

Author SHA1 Message Date
Adam Harvey
b7091aaf01 Deprecate ext/mysql.
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.
2012-12-10 22:12:09 +08:00
Ulf Wendel
3c81e71e5a Global s/ini_get('unicode.semantics')/version check/ . Early PHP 6 times are gone. I hope unicode logic will not change any more 2009-07-03 08:42:25 +00:00
Ulf Wendel
2ea4b6ba06 Same as for PHP_5_3: Trying to skip tests if they can't connect to the
DB server. Note the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE
to control if you want tests that can't connect to fail or to be skipped.
2007-10-12 12:32:39 +00:00
Ulf Wendel
4c1181a08a Whitespace: replacing spaces with tab to follow coding conventions.
One tiny change in mysql_close.phpt: don't overrule connection parameter
in any of the tests. Alway take connection parameter, including the database
name ($db), from connect.inc.
2007-07-11 11:57:45 +00:00
Georg Richter
cdd3e8be92 added testcases for ext/mysql (written by Ulf Wendel) 2006-11-19 12:14:44 +00:00