Commit Graph

7 Commits

Author SHA1 Message Date
Xinchen Hui
adcfee7b07 Refactor ext/mysql 2014-03-23 13:23:25 +08:00
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
fb4967900d Same as for ext/mysqli tests: addition of a new environment variable
MYSQL_TEST_SKIP_CONNECT_FAILURE  which controls how to deal with connection
problems. If MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) connection
problems will make a test fail. If you set MYSQL_TEST_SKIP_CONNECT_FAILURE
to any value that evaluates to true in PHP, a test which cannot connect to
the database will be skipped.
2007-08-09 11:53:17 +00:00
Ulf Wendel
3822833c37 Whitespace and the usual suspect: skipifemb.inc 2007-07-11 14:28:22 +00:00
Georg Richter
cdd3e8be92 added testcases for ext/mysql (written by Ulf Wendel) 2006-11-19 12:14:44 +00:00