svn: /php/php-src/ branches/PHP_5_3/ext/pdo/tests/bug_43139.phpt branches/PHP_5_4/ext/pdo/tests/bug_43139.phpt trunk/ext/pdo/tests/bug_43139.phpt
| From: | Matteo Beccati | Date: | Mon, 02 Jan 2012 11:43:25 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/pdo/tests/bug_43139.phpt branches/PHP_5_4/ext/pdo/tests/bug_43139.phpt trunk/ext/pdo/tests/bug_43139.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67388@lists.php.net to get a copy of this message | ||
mbeccati Mon, 02 Jan 2012 11:43:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321675
Log:
Bug #55663, fixed test for bug 43139 on Firebird. Per request from mariuz
Bugs: https://bugs.php.net/55663 (error getting bug
information)
https://bugs.php.net/43139 (error getting bug
information)
Changed paths:
U php/php-src/branches/PHP_5_3/ext/pdo/tests/bug_43139.phpt
U php/php-src/branches/PHP_5_4/ext/pdo/tests/bug_43139.phpt
U php/php-src/trunk/ext/pdo/tests/bug_43139.phpt
Modified: php/php-src/branches/PHP_5_3/ext/pdo/tests/bug_43139.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pdo/tests/bug_43139.phpt 2012-01-02 10:37:12 UTC (rev 321674)
+++ php/php-src/branches/PHP_5_3/ext/pdo/tests/bug_43139.phpt 2012-01-02 11:43:25 UTC (rev 321675)
@@ -20,6 +20,8 @@
$from = '';
if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') {
$from = 'from dual';
+} else if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'firebird') {
+ $from = 'FROM RDB$DATABASE';
}
var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def
$from")->fetchAll(PDO::FETCH_GROUP));
Modified: php/php-src/branches/PHP_5_4/ext/pdo/tests/bug_43139.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/pdo/tests/bug_43139.phpt 2012-01-02 10:37:12 UTC (rev 321674)
+++ php/php-src/branches/PHP_5_4/ext/pdo/tests/bug_43139.phpt 2012-01-02 11:43:25 UTC (rev 321675)
@@ -20,6 +20,8 @@
$from = '';
if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') {
$from = 'from dual';
+} else if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'firebird') {
+ $from = 'FROM RDB$DATABASE';
}
var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def
$from")->fetchAll(PDO::FETCH_GROUP));
Modified: php/php-src/trunk/ext/pdo/tests/bug_43139.phpt
===================================================================
--- php/php-src/trunk/ext/pdo/tests/bug_43139.phpt 2012-01-02 10:37:12 UTC (rev 321674)
+++ php/php-src/trunk/ext/pdo/tests/bug_43139.phpt 2012-01-02 11:43:25 UTC (rev 321675)
@@ -20,6 +20,8 @@
$from = '';
if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') {
$from = 'from dual';
+} else if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'firebird') {
+ $from = 'FROM RDB$DATABASE';
}
var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def
$from")->fetchAll(PDO::FETCH_GROUP));