cvs: php-src(PHP_4_3) /ext/pgsql pgsql.c
| From: | Marcus Boerger | Date: | Sat, 06 Sep 2003 15:31:15 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23662@lists.php.net to get a copy of this message | ||
helly Sat Sep 6 11:31:15 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/pgsql pgsql.c
Log:
MFH: Bugfix #25404
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.244.2.25 php-src/ext/pgsql/pgsql.c:1.244.2.26
--- php-src/ext/pgsql/pgsql.c:1.244.2.25 Thu Aug 28 17:09:21 2003
+++ php-src/ext/pgsql/pgsql.c Sat Sep 6 11:31:14 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.244.2.25 2003/08/28 21:09:21 andrey Exp $ */
+/* $Id: pgsql.c,v 1.244.2.26 2003/09/06 15:31:14 helly Exp $ */
#include <stdlib.h>
@@ -319,7 +319,9 @@
}
orig = PGG(ignore_notices);
PGG(ignore_notices) = 1;
- res = PQexec(link,"BEGIN;ROLLBACK;");
+ res = PQexec(link,"BEGIN;");
+ PQclear(res);
+ res = PQexec(link,"ROLLBACK;");
PQclear(res);
PGG(ignore_notices) = orig;