uw Wed Oct 10 14:31:29 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mysqli/tests 061.phpt bug31668.phpt
Log:
Version specific EXPECF sections would be wonderful (bug31668.phpt).
And sometimes it helps to read the commit messages to keep tests up to date:
we removed mysqli_set_local_infile_handler() from mysqlnd (061.phpt) some
time ago.
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/061.phpt?r1=1.5.4.1.2.1&r2=1.5.4.1.2.2&diff_format=u
Index: php-src/ext/mysqli/tests/061.phpt
diff -u php-src/ext/mysqli/tests/061.phpt:1.5.4.1.2.1
php-src/ext/mysqli/tests/061.phpt:1.5.4.1.2.2
--- php-src/ext/mysqli/tests/061.phpt:1.5.4.1.2.1 Wed Oct 10 10:10:14 2007
+++ php-src/ext/mysqli/tests/061.phpt Wed Oct 10 14:31:28 2007
@@ -1,9 +1,11 @@
--TEST--
local infile handler
--SKIPIF--
-<?php
-require_once('skipif.inc');
+<?php
+require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
+if (!function_exists('mysqli_set_local_infile_handler'))
+ die("skip - function not available.");
?>
--FILE--
<?php
@@ -58,4 +60,4 @@
unicode-unicode
rab-oof
unicode-unicode
-done!
\ No newline at end of file
+done!
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/bug31668.phpt?r1=1.2.4.1.2.1&r2=1.2.4.1.2.2&diff_format=u
Index: php-src/ext/mysqli/tests/bug31668.phpt
diff -u php-src/ext/mysqli/tests/bug31668.phpt:1.2.4.1.2.1
php-src/ext/mysqli/tests/bug31668.phpt:1.2.4.1.2.2
--- php-src/ext/mysqli/tests/bug31668.phpt:1.2.4.1.2.1 Wed Oct 10 10:10:59 2007
+++ php-src/ext/mysqli/tests/bug31668.phpt Wed Oct 10 14:31:28 2007
@@ -1,10 +1,12 @@
--TEST--
Bug #31668 (multi_query works exactly every other time (multi_query was
global, now per connection))
--SKIPIF--
-<?php
-require_once('skipif.inc');
+<?php
+require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
+--INI--
+error_reporting = E_ALL & ~E_STRICT
--FILE--
<?php
include "connect.inc";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php