svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/015.phpt branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_rollback.phpt
trunk/ext/mysqli/tests/015.phpt trunk/ext/mysqli/tests/mysqli_change_user_rollback.phpt

From: Date: Tue, 20 Oct 2009 12:41:58 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/015.phpt branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_rollback.phpt
trunk/ext/mysqli/tests/015.phpt trunk/ext/mysqli/tests/mysqli_change_user_rollback.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60734@lists.php.net to get a copy of this message
uw Tue, 20 Oct 2009 12:41:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289792 Log: Skipping tests if InnoDB is available but disabled. I wonder what InnoDB status comes next... Changed paths: U php/php-src/branches/PHP_5_3/ext/mysqli/tests/015.phpt U php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_rollback.phpt U php/php-src/trunk/ext/mysqli/tests/015.phpt U php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_rollback.phpt Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/015.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqli/tests/015.phpt 2009-10-20 12:31:04 UTC (rev 289791) +++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/015.phpt 2009-10-20 12:41:58 UTC (rev 289792) @@ -11,8 +11,9 @@ mysqli_free_result($result); mysqli_close($link); - if ($row[1] == "NO") { - printf ("skip innodb support not installed."); + if ($row[1] == "DISABLED" || $row[1] == "NO") { + printf ("skip innodb support is not installed or enabled."); + exit; } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_rollback.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_rollback.phpt 2009-10-20 12:31:04 UTC (rev 289791) +++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_rollback.phpt 2009-10-20 12:41:58 UTC (rev 289792) @@ -12,8 +12,9 @@ mysqli_free_result($result); mysqli_close($link); -if ($row[1] == 'NO') { - printf ("skip ROLLBACK requires transactional engine InnoDB"); +if ($row[1] == "DISABLED" || $row[1] == "NO") { + printf ("skip innodb support is not installed or enabled."); + exit; } ?> --FILE-- Modified: php/php-src/trunk/ext/mysqli/tests/015.phpt =================================================================== --- php/php-src/trunk/ext/mysqli/tests/015.phpt 2009-10-20 12:31:04 UTC (rev 289791) +++ php/php-src/trunk/ext/mysqli/tests/015.phpt 2009-10-20 12:41:58 UTC (rev 289792) @@ -11,8 +11,9 @@ mysqli_free_result($result); mysqli_close($link); - if ($row[1] == "NO") { - printf ("skip innodb support not installed."); + if ($row[1] == "DISABLED" || $row[1] == "NO") { + printf ("skip innodb support is not installed or enabled."); + exit; } ?> --FILE-- Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_rollback.phpt =================================================================== --- php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_rollback.phpt 2009-10-20 12:31:04 UTC (rev 289791) +++ php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_rollback.phpt 2009-10-20 12:41:58 UTC (rev 289792) @@ -12,8 +12,9 @@ mysqli_free_result($result); mysqli_close($link); -if ($row[1] == 'NO') { - printf ("skip ROLLBACK requires transactional engine InnoDB"); +if ($row[1] == "DISABLED" || $row[1] == "NO") { + printf ("skip innodb support is not installed or enabled."); + exit; } ?> --FILE--

« previous php.cvs (#60734) next »