cvs: php4 /ext/pgsql pgsql.c

From: Date: Sat, 04 Jan 2003 12:33:46 +0000
Subject: cvs: php4 /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17606@lists.php.net to get a copy of this message
derick Sat Jan 4 07:33:46 2003 EDT Modified files: /php4/ext/pgsql pgsql.c Log: - Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by Floyd <floyd@studiodust.com>) Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.254 php4/ext/pgsql/pgsql.c:1.255 --- php4/ext/pgsql/pgsql.c:1.254 Tue Dec 31 11:07:17 2002 +++ php4/ext/pgsql/pgsql.c Sat Jan 4 07:33:46 2003 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.254 2002/12/31 16:07:17 sebastian Exp $ */ +/* $Id: pgsql.c,v 1.255 2003/01/04 12:33:46 derick Exp $ */ #include <stdlib.h> @@ -2833,7 +2833,7 @@ PGresult *res; int leftover = 0; - if (PQsetnonblocking(pgsql, 1)) { + if (PQ_SETNONBLOCKING(pgsql, 1)) { php_error_docref(NULL TSRMLS_CC, E_NOTICE,"Cannot set connection to nonblocking mode."); return -1; } @@ -2841,7 +2841,7 @@ PQclear(res); leftover++; } - PQsetnonblocking(pgsql, 0); + PQ_SETNONBLOCKING(pgsql, 0); return leftover; } /* }}} */

« previous php.cvs (#17606) next »