diff options
author | Adam Baratz <adambaratz@php.net> | 2016-09-13 13:09:41 -0400 |
---|---|---|
committer | Adam Baratz <adambaratz@php.net> | 2016-09-13 16:36:23 -0400 |
commit | f0a12af65b217c00a89fc8fe11883168e1ea657f (patch) | |
tree | 08c9da2d444439b4a843c260062c769b4f4edbe7 | |
parent | 91c49c4ab0632116760d9beeddb0ec26ddc61ca7 (diff) | |
download | php-git-f0a12af65b217c00a89fc8fe11883168e1ea657f.tar.gz |
Remove test cases don't test distinct behavior
These cases are also incompatible with pdo_dblib. Removing is easier.
-rw-r--r-- | ext/pdo/tests/bug_38253.phpt | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ext/pdo/tests/bug_38253.phpt b/ext/pdo/tests/bug_38253.phpt index e749970a5f..78519a0805 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()); |