[PATCH]: php5 - oci8 - type of temporary LOB in `ociwritetemporarylob'

php.internals

Novický Marek

23 years ago
Patch proposal to implement `lob_type' as an optional parameter to the `ociwritetemporarylob' function. Patch changes file ext/oci8/oci8.c, diff made against php-5 latest csl /* $Id: oci8.c,v 1.211 2003/06/22 14:33:03 andrey Exp $ */ * * * The function `ociwritetemporarylob' creates an oracle LOB object. Currently the type of object is set to OCI_TEMP_CLOB and there is no way how to create temporary BLOB. The enclosed patch defines two constants - types of temporary LOBs: OCI_TEMP_CLOB OCI_TEMP_BLOB and extends the number of parameters of function `ociwritetemporarylob' by an optional parameter LOB type (default value is set to OCI_TEMP_CLOB to preserve backward compatibility). Can someone check and commit this patch ? Thanks Marek --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze: 6.0.502 / Virová báze: 300 - datum vydání: 18.7.2003

Thies C. Arntzen

23 years ago
On Mon, Jul 21, 2003 at 04:29:17PM +0200, Novický Marek wrote:
> Patch proposal to implement `lob_type' as an optional parameter to the `ociwritetemporarylob' function. > > Patch changes file ext/oci8/oci8.c, diff made against php-5 latest csl > > /* $Id: oci8.c,v 1.211 2003/06/22 14:33:03 andrey Exp $ */ > > * * * > > The function `ociwritetemporarylob' creates an oracle LOB object. > Currently the type of object is set to OCI_TEMP_CLOB and there is no way how to create temporary BLOB. > > The enclosed patch defines two constants - types of temporary LOBs: > > OCI_TEMP_CLOB > OCI_TEMP_BLOB > > and extends the number of parameters of function `ociwritetemporarylob' by an optional parameter LOB type (default value is set to OCI_TEMP_CLOB to preserve backward compatibility). > > Can someone check and commit this patch ?
done - thanx! tc