cvs: php-src(PHP_5_2) /ext/pdo/tests bug_36798.phpt
| From: | Ilia Alshanetsky | Date: | Sun, 03 Jun 2007 17:41:21 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/pdo/tests bug_36798.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-44595@lists.php.net to get a copy of this message | ||
iliaa Sun Jun 3 17:41:21 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/pdo/tests bug_36798.phpt
Log:
Fixed test for PostgreSQL
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/tests/bug_36798.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/pdo/tests/bug_36798.phpt
diff -u php-src/ext/pdo/tests/bug_36798.phpt:1.1.2.1 php-src/ext/pdo/tests/bug_36798.phpt:1.1.2.2
--- php-src/ext/pdo/tests/bug_36798.phpt:1.1.2.1 Tue Dec 5 18:04:59 2006
+++ php-src/ext/pdo/tests/bug_36798.phpt Sun Jun 3 17:41:21 2007
@@ -15,6 +15,7 @@
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)");