cvs: php-src /ext/pgsql/tests 02connection.phpt
| From: | Marcus Boerger | Date: | Tue, 09 Mar 2004 14:37:50 +0000 |
| Subject: | cvs: php-src /ext/pgsql/tests 02connection.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-26565@lists.php.net to get a copy of this message | ||
helly Tue Mar 9 09:37:50 2004 EDT
Modified files:
/php-src/ext/pgsql/tests 02connection.phpt
Log:
Show the connect result
http://cvs.php.net/diff.php/php-src/ext/pgsql/tests/02connection.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/pgsql/tests/02connection.phpt
diff -u php-src/ext/pgsql/tests/02connection.phpt:1.2 php-src/ext/pgsql/tests/02connection.phpt:1.3
--- php-src/ext/pgsql/tests/02connection.phpt:1.2 Mon May 19 20:14:46 2003
+++ php-src/ext/pgsql/tests/02connection.phpt Tue Mar 9 09:37:49 2004
@@ -9,6 +9,8 @@
include('config.inc');
$db = pg_pconnect($conn_str);
+var_dump($db);
+
if (pg_connection_status($db) != PGSQL_CONNECTION_OK)
{
echo "pg_connection_status() error\n";
@@ -44,7 +46,8 @@
pg_close($db);
-echo "OK";
?>
---EXPECT--
-OK
+===DONE===
+--EXPECTF--
+resource(%d) of type (pgsql link%s)
+===DONE===