From: Ilia Alshanetsky Date: Sun, 3 Jun 2007 17:41:21 +0000 (+0000) Subject: Fixed test for PostgreSQL X-Git-Tag: php-5.2.4RC1~448 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=489c2d739a27295f1387ee33074699c6a8815979;p=php Fixed test for PostgreSQL --- diff --git a/ext/pdo/tests/bug_36798.phpt b/ext/pdo/tests/bug_36798.phpt index 4e301eb0eb..5a40bb78c7 100644 --- a/ext/pdo/tests/bug_36798.phpt +++ b/ext/pdo/tests/bug_36798.phpt @@ -15,6 +15,7 @@ if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.dirname(__FILE_ require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc'; $db = PDOTest::factory(); +@$db->exec("SET NAMES 'LATIN1'"); // needed for PostgreSQL $db->exec("CREATE TABLE test (id INTEGER)"); $db->exec("INSERT INTO test (id) VALUES (1)");