summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-01-03 17:54:46 +0100
committerAnatol Belski <ab@php.net>2017-01-03 17:54:46 +0100
commitb15cc7913a1aa108b3e27c8c361202785bea4033 (patch)
treeb196718319402bc3757bf3da907bcb77f42c50c8 /ext/pdo_firebird
parent63d980b3c7fd6fac09f63de9ef19416be8f42d50 (diff)
parente914abff1e88092216e453234224860514d5e5cc (diff)
downloadphp-git-b15cc7913a1aa108b3e27c8c361202785bea4033.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fix PDO tests to match SQL standard syntax and pass Firebird tests.
Diffstat (limited to 'ext/pdo_firebird')
-rw-r--r--ext/pdo_firebird/tests/bug_72931.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_firebird/tests/bug_72931.phpt b/ext/pdo_firebird/tests/bug_72931.phpt
index ecbde6a109..4f8a1a1746 100644
--- a/ext/pdo_firebird/tests/bug_72931.phpt
+++ b/ext/pdo_firebird/tests/bug_72931.phpt
@@ -10,7 +10,7 @@ $C->exec('create table tablea (id integer)');
$S = $C->prepare('insert into tablea (id) values (1) returning id');
$S->execute();
$D = $S->fetch(PDO::FETCH_NUM);
-echo $D[0][0];
+echo $D[0];
unset($S);
unset($C);
?>
@@ -18,7 +18,7 @@ unset($C);
<?php
require 'testdb.inc';
$C = new PDO('firebird:dbname='.$test_base, $user, $password) or die;
-$C->exec('DROP table tablea');
+$C->exec('drop table tablea');
?>
--EXPECT--
1