diff options
author | Sterling Hughes <sterling@php.net> | 2001-05-28 03:30:11 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-05-28 03:30:11 +0000 |
commit | 687a1c1abe5d7aec25b70d83cd19a096f628f133 (patch) | |
tree | 84c1b71347f74e0ed5f4ec21c580721c76754f88 /ext/pgsql/pgsql.c | |
parent | 6686f83799eb5f8e275c3b00e7668642d645d83d (diff) | |
download | php-git-687a1c1abe5d7aec25b70d83cd19a096f628f133.tar.gz |
ws fix
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; |