From: Ilia Alshanetsky Date: Sat, 19 May 2007 15:28:37 +0000 (+0000) Subject: Fixed test to work with postgresql X-Git-Tag: php-5.2.3RC1~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a6442190cbe8d79e1c8daf4dac7da387b971019;p=php Fixed test to work with postgresql --- diff --git a/ext/pdo/tests/pdo_034.phpt b/ext/pdo/tests/pdo_034.phpt index eaadb51f95..0f012c616a 100644 --- a/ext/pdo/tests/pdo_034.phpt +++ b/ext/pdo/tests/pdo_034.phpt @@ -14,7 +14,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("CREATE TABLE test (a char(100), b char(100), c char(100))"); +$db->exec("CREATE TABLE test (a varchar(100), b varchar(100), c varchar(100))"); for ($i = 0; $i < 5; $i++) { $db->exec("INSERT INTO test (a,b,c) VALUES('test".$i."','".$i."','".$i."')");