CVS update: php3/functions

From: Date: Wed, 12 May 1999 11:42:09 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5552@lists.php.net to get a copy of this message
Date: Wednesday May 12, 1999 @ 7:42 Author: thies Update of /repository/php3/functions In directory php:/tmp/cvs-serv7668 Modified Files: oci8.c Log Message: ocicancel now "cleans" the statement handle (needed for nested tables). Index: php3/functions/oci8.c diff -u php3/functions/oci8.c:1.94 php3/functions/oci8.c:1.95 --- php3/functions/oci8.c:1.94 Wed May 12 07:16:47 1999 +++ php3/functions/oci8.c Wed May 12 07:42:08 1999 @@ -33,7 +33,7 @@ #define OCI8_USE_EMALLOC 0 /* set this to 1 if you want to use the php memory manager! */ -/* $Id: oci8.c,v 1.94 1999/05/12 11:16:47 thies Exp $ */ +/* $Id: oci8.c,v 1.95 1999/05/12 11:42:08 thies Exp $ */ /* TODO list: * @@ -1300,8 +1300,7 @@ OCI_FETCH_NEXT, OCI_DEFAULT); - if (statement->error == OCI_NO_DATA) { - + if ((statement->error == OCI_NO_DATA) || (nrows == 0)) { /* XXX this is needed for REFCURSORS! */ if (statement->columns) { _php3_hash_destroy(statement->columns); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5552) next »