cvs: php-src(PHP_5_3) /ext/pdo/tests bug_38253.phpt
| From: | Nuno Lopes | Date: | Tue, 19 Feb 2008 14:46:20 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/pdo/tests bug_38253.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48635@lists.php.net to get a copy of this message | ||
nlopess Tue Feb 19 14:46:20 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/pdo/tests bug_38253.phpt
Log:
some BDs (e.g. firebird) dont support text, so replace it with varchar(255).
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/tests/bug_38253.phpt?r1=1.1.2.3&r2=1.1.2.3.2.1&diff_format=u
Index: php-src/ext/pdo/tests/bug_38253.phpt
diff -u php-src/ext/pdo/tests/bug_38253.phpt:1.1.2.3
php-src/ext/pdo/tests/bug_38253.phpt:1.1.2.3.2.1
--- php-src/ext/pdo/tests/bug_38253.phpt:1.1.2.3 Mon May 7 18:03:01 2007
+++ php-src/ext/pdo/tests/bug_38253.phpt Tue Feb 19 14:46:20 2008
@@ -14,7 +14,7 @@
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);