diff options
author | Antony Dovgal <tony2001@php.net> | 2004-01-22 08:05:14 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2004-01-22 08:05:14 +0000 |
commit | 261726099c592e27bc6d4a5cd806f0e39fb49748 (patch) | |
tree | 8e0805e0aae9b2466da683ccc9901eb8fe2323d8 /ext/oci8 | |
parent | cd96ff54961063a024e546939e6e011a78fc8347 (diff) | |
download | php-git-261726099c592e27bc6d4a5cd806f0e39fb49748.tar.gz |
MFB
oci_lob_save() should be removed indeed, but we're already in feature freeze =(
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/oci8.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 95d7e5f11f..669250180b 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -3842,8 +3842,8 @@ PHP_FUNCTION(oci_lob_save) 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; @@ -3852,7 +3852,6 @@ PHP_FUNCTION(oci_lob_save) WRONG_PARAM_COUNT; } - offset++; convert_to_string_ex(arg); loblen = Z_STRLEN_PP(arg); |