com php-src: Remove test cases don't test distinct behavior: ext/pdo/tests/bug_38253.phpt

From: Date: Tue, 13 Sep 2016 20:36:23 +0000
Subject: com php-src: Remove test cases don't test distinct behavior: ext/pdo/tests/bug_38253.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94499@lists.php.net to get a copy of this message
Commit: f0a12af65b217c00a89fc8fe11883168e1ea657f Author: Adam Baratz <adambaratz@php.net> Tue, 13 Sep 2016 13:09:41 -0400 Parents: 91c49c4ab0632116760d9beeddb0ec26ddc61ca7 Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f0a12af65b217c00a89fc8fe11883168e1ea657f Log: Remove test cases don't test distinct behavior These cases are also incompatible with pdo_dblib. Removing is easier. Changed paths: M ext/pdo/tests/bug_38253.phpt Diff: diff --git a/ext/pdo/tests/bug_38253.phpt b/ext/pdo/tests/bug_38253.phpt index e749970..78519a0 100644 --- a/ext/pdo/tests/bug_38253.phpt +++ b/ext/pdo/tests/bug_38253.phpt @@ -22,19 +22,8 @@ $stmt = $pdo->prepare ("SELECT * FROM test"); $stmt->execute(); var_dump($stmt->fetchAll()); -if ($pdo->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') { - $type = "clob"; -} else if ($pdo->getAttribute(PDO::ATTR_DRIVER_NAME) == 'firebird') { - $type = 'BLOB SUB_TYPE TEXT'; -} else { - $type = "text"; -} - -$pdo->exec ("create table test2 (id integer primary key, n $type)"); -$pdo->exec ("INSERT INTO test2 (id, n) VALUES (1,'hi')"); - $pdo->setAttribute (PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_FUNC); -$stmt = $pdo->prepare ("SELECT * FROM test2"); +$stmt = $pdo->prepare ("SELECT * FROM test"); $stmt->execute(); var_dump($stmt->fetchAll());

« previous php.cvs (#94499) next »