Browse Source

Fixed test for ZTS builds

PHP-5.1
Ilia Alshanetsky 21 years ago
parent
commit
03418c1d36
  1. 6
      ext/pdo_pgsql/tests/bug_33876.phpt

6
ext/pdo_pgsql/tests/bug_33876.phpt

@ -3,13 +3,13 @@ PDO PgSQL Bug #33876
--SKIPIF--
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded');
require 'ext/pdo/tests/pdo_test.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
PDOTest::skip();
?>
--FILE--
<?php
require 'ext/pdo/tests/pdo_test.inc';
$db = PDOTest::test_factory('ext/pdo_pgsql/tests/common.phpt');
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
$db->exec('CREATE TABLE test (foo varchar(5) NOT NULL, bar bool NOT NULL)');

Loading…
Cancel
Save