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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php