Commit:    b668a26c2f1c03de505afcaeab6b96eb80d7a512
Author:    Nikita Popov <ni...@php.net>         Thu, 22 Aug 2013 11:31:56 +0200
Parents:   e212320a0c5e83385e26ec534dc72a16964cc67f
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=b668a26c2f1c03de505afcaeab6b96eb80d7a512

Log:
Fix pgsql notice test failure

Changed paths:
  M  ext/pgsql/tests/09notice.phpt


Diff:
diff --git a/ext/pgsql/tests/09notice.phpt b/ext/pgsql/tests/09notice.phpt
index 67ef262..36d0c56 100644
--- a/ext/pgsql/tests/09notice.phpt
+++ b/ext/pgsql/tests/09notice.phpt
@@ -20,6 +20,9 @@ $db = pg_connect($conn_str);
 
 _set_lc_messages();
 
+$res = pg_query($db, 'SET client_min_messages TO NOTICE;'); 
+var_dump($res);
+
 pg_query($db, "BEGIN;");
 pg_query($db, "BEGIN;");
 
@@ -33,6 +36,7 @@ echo "pg_last_notice() is Ok\n";
 
 ?>
 --EXPECTF--
+resource(%d) of type (pgsql result) 
 Notice: pg_query(): %s already a transaction in progress in %s on line %d
 %s already a transaction in progress
 pg_last_notice() is Ok


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to