felipe Fri Oct 31 22:43:32 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/mysqli/tests bug42548.phpt
Log:
- Fixed test (#46438)
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/bug42548.phpt?r1=1.2.2.3&r2=1.2.2.4&diff_format=u
Index: php-src/ext/mysqli/tests/bug42548.phpt
diff -u php-src/ext/mysqli/tests/bug42548.phpt:1.2.2.3
php-src/ext/mysqli/tests/bug42548.phpt:1.2.2.4
--- php-src/ext/mysqli/tests/bug42548.phpt:1.2.2.3 Fri Jan 18 12:12:19 2008
+++ php-src/ext/mysqli/tests/bug42548.phpt Fri Oct 31 22:43:32 2008
@@ -1,7 +1,14 @@
--TEST--
Bug #42548 PROCEDURE xxx can't return a result set in the given context (works
in 5.2.3!!)
--SKIPIF--
-<?php if (!extension_loaded("mysqli")) print "skip"; ?>
+<?php
+require_once('skipif.inc');
+
+if (mysqli_get_server_version($con) <= 50000) {
+ die(sprintf('skip Needs MySQL 5.0+, found version %d.',
mysqli_get_server_version($con)));
+}
+
+?>
--FILE--
<?php
include "connect.inc";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php