From: Sterling Hughes Date: Mon, 28 May 2001 03:30:11 +0000 (+0000) Subject: ws fix X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=687a1c1abe5d7aec25b70d83cd19a096f628f133;p=php ws fix --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 3e193254c0..3c68c0fcdd 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -175,10 +175,11 @@ static int _rollback_transactions(zend_rsrc_list_entry *rsrc) PGconn *link; PGLS_FETCH(); - if (rsrc->type != le_plink) return 0; - - link = (PGconn *)rsrc->ptr; + if (rsrc->type != le_plink) + return 0; + link = (PGconn *) rsrc->ptr; + PGG(ignore_notices) = 1; PQexec(link,"BEGIN;ROLLBACK;"); PGG(ignore_notices) = 0;