summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/tests
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-06-12 18:56:07 (GMT)
committerArd Biesheuvel <abies@php.net>2004-06-12 18:56:07 (GMT)
commit6b3cda310a7deccc67cee73ec6cb84a43eb78e21 (patch)
tree399d61b1422051943faa14c5c4a4b20fa1ec0d40 /ext/pdo_firebird/tests
parent8a3975191e203e1c96cbe6194275c85640f431d5 (diff)
downloadphp-6b3cda310a7deccc67cee73ec6cb84a43eb78e21.tar.gz
Added client/server info attributes
Diffstat (limited to 'ext/pdo_firebird/tests')
-rw-r--r--ext/pdo_firebird/tests/execute.phpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_firebird/tests/execute.phpt b/ext/pdo_firebird/tests/execute.phpt
index 1ab33e2..d505156 100644
--- a/ext/pdo_firebird/tests/execute.phpt
+++ b/ext/pdo_firebird/tests/execute.phpt
@@ -2,12 +2,17 @@
PDO_Firebird: prepare/execute/binding
--SKIPIF--
<?php include("skipif.inc"); ?>
+--INI--
+ibase.timestampformat=%Y-%m-%d %H:%M:%S
--FILE--
<?php /* $Id$ */
require("testdb.inc");
$db = new PDO("firebird:dbname=$test_base",$user,$password) or die;
+
+ var_dump($db->getAttribute(PDO_ATTR_CONNECTION_STATUS));
+
$db->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_WARNING);
$db->exec("CREATE TABLE ddl (id SMALLINT NOT NULL PRIMARY KEY, text VARCHAR(32),
@@ -38,6 +43,7 @@ PDO_Firebird: prepare/execute/binding
?>
--EXPECT--
+bool(true)
int(1)
array(6) {
["ID"]=>