tony2001                Tue Dec 12 10:31:23 2006 UTC

  Modified files:              
    /php-src/ext/oci8   oci8_lob.c 
  Log:
  fix LOBs internal position in Unicode mode
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_lob.c?r1=1.24&r2=1.25&diff_format=u
Index: php-src/ext/oci8/oci8_lob.c
diff -u php-src/ext/oci8/oci8_lob.c:1.24 php-src/ext/oci8/oci8_lob.c:1.25
--- php-src/ext/oci8/oci8_lob.c:1.24    Tue Dec 12 09:28:07 2006
+++ php-src/ext/oci8/oci8_lob.c Tue Dec 12 10:31:22 2006
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_lob.c,v 1.24 2006/12/12 09:28:07 tony2001 Exp $ */
+/* $Id: oci8_lob.c,v 1.25 2006/12/12 10:31:22 tony2001 Exp $ */
 
 
 
@@ -345,11 +345,7 @@
        );
        
        efree(bufp);
-       if (lob_type == OCI_IS_BLOB) {
-               offset = descriptor->lob_current_position + 
TEXT_BYTES(bytes_read);
-       } else {
-               offset = descriptor->lob_current_position + bytes_read;
-       }
+       offset = descriptor->lob_current_position + bytes_read;
 
 #endif
        

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to