PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/pdo_firebird/tests/pdo_017.phpt

Script

<?php # vim:ft=php
if (!extension_loaded('pdo')) die('skip');
$dir getenv('REDIR_TEST_DIR');
if (
false == $dir) die('skip no driver');
require_once 
$dir 'pdo_test.inc';
PDOTest::skip();

$db PDOTest::factory();
try {
  
$db->beginTransaction();
} catch (
PDOException $e) {
  die(
'skip no working transactions: ' $e->getMessage());
}

if (
$db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
    require_once(
dirname(__FILE__) . DIRECTORY_SEPARATOR 'mysql_pdo_test.inc');
    if (
false === MySQLPDOTest::detect_transactional_mysql_engine($db)) {
        die(
'skip your mysql configuration does not support working transactions');
    }
}
?>

Reason

no working transactions: There is already an active transaction

 

Generated at Thu, 20 Nov 2014 12:38:44 +0000 (2 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.