summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-04-30 14:23:41 +0000
committerDaniel Beulshausen <dbeu@php.net>2001-04-30 14:23:41 +0000
commit0a121f855ca679e188fe6c8146e5455b63eaf20c (patch)
tree425fbbfdfd835e41d33730bdedf88dd06b1cf5dc /ext/pgsql/pgsql.c
parentc8e177c7a3431f4897b60185c1c9f5ed51361ca9 (diff)
downloadphp-git-0a121f855ca679e188fe6c8146e5455b63eaf20c.tar.gz
make pgsql build under win32 again
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index fa78e38e12..7a4f8dbabf 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -162,6 +162,7 @@ _notice_handler(void *arg, const char *message)
static int _rollback_transactions(zend_rsrc_list_entry *rsrc)
{
PGconn *link = (PGconn *)rsrc->ptr;
+ PGLS_FETCH();
PGG(ignore_notices) = 1;
PQexec(link,"BEGIN;ROLLBACK;");