cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests bug46292.phpt
| From: | Felipe Pena | Date: | Tue, 14 Oct 2008 17:45:52 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests bug46292.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53513@lists.php.net to get a copy of this message | ||
felipe Tue Oct 14 17:45:52 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/pdo_mysql/tests bug46292.phpt
Log:
- Added SKIPIF
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/bug46292.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/bug46292.phpt
diff -u php-src/ext/pdo_mysql/tests/bug46292.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/bug46292.phpt:1.1.2.3
--- php-src/ext/pdo_mysql/tests/bug46292.phpt:1.1.2.2 Tue Oct 14 17:36:02 2008
+++ php-src/ext/pdo_mysql/tests/bug46292.phpt Tue Oct 14 17:45:52 2008
@@ -1,5 +1,13 @@
--TEST--
Bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE)
+--SKIPIF--
+<?php
+require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc');
+require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
+MySQLPDOTest::skip();
+if (version_compare(PHP_VERSION, '5.1.0', '<'))
+ die("skip Needs 5.1.0 and Interface Serializable");
+?>
--FILE--
<?php