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

- Thread: https://externals.io/message/3544
- Original archive: https://news-web.php.net/php.internals/3544
- Started by novicky@aarongroup.cz on 2003-07-21T14:29:17+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #3544 — novicky@aarongroup.cz — 2003-07-21T14:29:17+00:00

URL: https://externals.io/message/3544#3544

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
