summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-02-19 14:46:20 +0000
committerNuno Lopes <nlopess@php.net>2008-02-19 14:46:20 +0000
commit083f474a47a748bd72ad82cb7a15e58f17047850 (patch)
tree1095a9e540b95e234bcc44e7e360d72e58f13fb4
parent6e712e05ab785070234d3e8b654c694b5d4afab0 (diff)
downloadphp-git-083f474a47a748bd72ad82cb7a15e58f17047850.tar.gz
some BDs (e.g. firebird) dont support text, so replace it with varchar(255).
-rw-r--r--ext/pdo/tests/bug_38253.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/tests/bug_38253.phpt b/ext/pdo/tests/bug_38253.phpt
index c89fba866e..ba937a052a 100644
--- a/ext/pdo/tests/bug_38253.phpt
+++ b/ext/pdo/tests/bug_38253.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';
$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);