1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 13:43:02 +02:00

fix LOBs internal position in Unicode mode

This commit is contained in:
Antony Dovgal
2006-12-12 10:31:22 +00:00
parent 4f903da4c0
commit da56bcc2b1

View File

@@ -345,11 +345,7 @@ int php_oci_lob_read (php_oci_descriptor *descriptor, long read_length, long ini
);
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