Commit Graph

7 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
2d884dd1e1 Adding CLEAN sections, fixing some SKIPIF sections. Cool new run-tests.php, Zoe (and other) - its a great help to detect stinky SKIPIF and CLEAN 2009-07-02 10:04:25 +00:00
Johannes Schlüter
aabcde4dc6 New param parsing for ext/mysql 2008-11-28 20:21:35 +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
e6e029e399 A bit more verbose message in case of problems. It's been helpful to
debug a cross-server version issue.
2007-07-12 13:57:36 +00:00
Ulf Wendel
8324e16636 Whitespace/Coding Standards.
The tests origin from ext/mysqli/tests. ext/mysqli/tests should have a
skipifemb.inc, which is not needed and not available for ext/mysql/tests.
Nevertheless the tests tried to include that file.
2007-07-11 12:57:57 +00:00
Georg Richter
cdd3e8be92 added testcases for ext/mysql (written by Ulf Wendel) 2006-11-19 12:14:44 +00:00