cvs: php4 /ext/pgsql/tests 09notice.phpt notice.inc

From: Date: Fri, 05 Apr 2002 06:30:21 +0000
Subject: cvs: php4 /ext/pgsql/tests 09notice.phpt notice.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10887@lists.php.net to get a copy of this message
yohgaki Fri Apr 5 01:30:21 2002 EDT Added files: /php4/ext/pgsql/tests 09notice.phpt notice.inc Log: Add notice message test # Need to figure out why estrduped string is not null terminated Index: php4/ext/pgsql/tests/09notice.phpt +++ php4/ext/pgsql/tests/09notice.phpt --TEST-- PostgreSQL notice function --SKIPIF-- <?php include("skipif.inc"); ?> --FILE-- <?php include("notice.inc"); ?> --EXPECT-- NOTICE: BEGIN: already a transaction in progress pg_last_notice() is Ok Index: php4/ext/pgsql/tests/notice.inc +++ php4/ext/pgsql/tests/notice.inc <?php include 'config.inc'; $db = pg_connect($conn_str); pg_query($db, "BEGIN;"); pg_query($db, "BEGIN;"); $msg = pg_last_notice($db); echo $msg; echo "pg_last_notice() is Ok\n"; ?>

« previous php.cvs (#10887) next »