]> granicus.if.org Git - php/commitdiff
MFB
authorNuno Lopes <nlopess@php.net>
Tue, 19 Feb 2008 14:46:41 +0000 (14:46 +0000)
committerNuno Lopes <nlopess@php.net>
Tue, 19 Feb 2008 14:46:41 +0000 (14:46 +0000)
ext/pdo/tests/bug_38253.phpt

index c89fba866e4a3882543927480cbe8073a9cd730d..ba937a052a4a477a95e08ab98b82a2dd72965b12 100644 (file)
@@ -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';
 $pdo = PDOTest::factory();
 
-$pdo->exec ("create table test (id integer primary key, n text)");
+$pdo->exec ("create table test (id integer primary key, n varchar(255))");
 $pdo->exec ("INSERT INTO test (id, n) VALUES (1, 'hi')");
 
 $pdo->setAttribute (PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_CLASS);