Bug #14922: OCIBindByName forcing length to 1, even though 0 is a valid length
| From: | alester at flr dot follett dot com | Date: | Mon, 07 Jan 2002 23:37:16 +0000 |
| Subject: | Bug #14922: OCIBindByName forcing length to 1, even though 0 is a valid length | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76222@lists.php.net to get a copy of this message | ||
From: alester@flr.follett.com
Operating system: Solaris
PHP version: 4.1.0
PHP Bug Type: OCI8 related
Bug description: OCIBindByName forcing length to 1, even though 0 is a valid length
It seems that the when oci8.c forces value_sz to 1 if it's 0 is bypassing a
perfectly valid use of a length of 0: To signify a null.
See:
http://download-west.oracle.com/otndoc/oracle9i/901_doc/appdev.901/a89857/oci03typ.htm
--
Edit bug report at: http://bugs.php.net/?id=14922&edit=1