cvs: php-src(PHP_5_2) /ext/oci8 oci8_lob.c

From: Date: Tue, 12 Dec 2006 09:28:18 +0000
Subject: cvs: php-src(PHP_5_2) /ext/oci8 oci8_lob.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42063@lists.php.net to get a copy of this message
tony2001 Tue Dec 12 09:28:18 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/oci8 oci8_lob.c Log: MFH http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_lob.c?r1=1.7.2.6.2.8&r2=1.7.2.6.2.9&diff_format=u Index: php-src/ext/oci8/oci8_lob.c diff -u php-src/ext/oci8/oci8_lob.c:1.7.2.6.2.8 php-src/ext/oci8/oci8_lob.c:1.7.2.6.2.9 --- php-src/ext/oci8/oci8_lob.c:1.7.2.6.2.8 Fri Dec 8 20:56:29 2006 +++ php-src/ext/oci8/oci8_lob.c Tue Dec 12 09:28:18 2006 @@ -25,7 +25,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci8_lob.c,v 1.7.2.6.2.8 2006/12/08 20:56:29 tony2001 Exp $ */ +/* $Id: oci8_lob.c,v 1.7.2.6.2.9 2006/12/12 09:28:18 tony2001 Exp $ */ @@ -190,7 +190,11 @@ { php_oci_connection *connection = descriptor->connection; ub4 chunk_size; - + + if (descriptor->type == OCI_DTYPE_FILE) { + return read_length; + } + if (!descriptor->chunk_size) { PHP_OCI_CALL_RETURN(connection->errcode, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size));

« previous php.cvs (#42063) next »