oci_lob_save() should be removed indeed, but we're already in feature freeze =(
if (offparam == -1) {
offset = curloblen;
- } else if ((ub4) offparam >= curloblen) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset smaller than current LOB-Size - appending");
+ } else if (offparam >= curloblen) {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset is bigger than current LOB-Size - appending");
offset = curloblen;
} else {
offset = offparam;
WRONG_PARAM_COUNT;
}
- offset++;
convert_to_string_ex(arg);
loblen = Z_STRLEN_PP(arg);