cvs: php-src /ext/oci8 oci8_lob.c
| From: | Antony Dovgal | Date: | Fri, 10 Nov 2006 21:57:04 +0000 |
| Subject: | cvs: php-src /ext/oci8 oci8_lob.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41470@lists.php.net to get a copy of this message | ||
tony2001 Fri Nov 10 21:57:04 2006 UTC
Modified files:
/php-src/ext/oci8 oci8_lob.c
Log:
fix build with old client versions
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_lob.c?r1=1.20&r2=1.21&diff_format=u
Index: php-src/ext/oci8/oci8_lob.c
diff -u php-src/ext/oci8/oci8_lob.c:1.20 php-src/ext/oci8/oci8_lob.c:1.21
--- php-src/ext/oci8/oci8_lob.c:1.20 Fri Nov 10 16:56:19 2006
+++ php-src/ext/oci8/oci8_lob.c Fri Nov 10 21:57:04 2006
@@ -25,7 +25,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8_lob.c,v 1.20 2006/11/10 16:56:19 tony2001 Exp $ */
+/* $Id: oci8_lob.c,v 1.21 2006/11/10 21:57:04 tony2001 Exp $ */
@@ -341,7 +341,7 @@
);
efree(bufp);
- if (!is_clob) {
+ if (lob_type == OCI_IS_BLOB) {
offset = descriptor->lob_current_position + TEXT_BYTES(bytes_read);
} else {
offset = descriptor->lob_current_position + bytes_read;