felipe          Tue Oct 14 17:46:28 2008 UTC

  Modified files:              
    /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.2&r2=1.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/bug46292.phpt
diff -u php-src/ext/pdo_mysql/tests/bug46292.phpt:1.2 
php-src/ext/pdo_mysql/tests/bug46292.phpt:1.3
--- php-src/ext/pdo_mysql/tests/bug46292.phpt:1.2       Tue Oct 14 17:37:13 2008
+++ php-src/ext/pdo_mysql/tests/bug46292.phpt   Tue Oct 14 17:46:28 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  
        



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to