Re: [PHP4BETA] OCI8 Module half-broken?
| From: | Thies C. Arntzen | Date: | Mon, 04 Oct 1999 17:18:40 +0000 |
| Subject: | Re: [PHP4BETA] OCI8 Module half-broken? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5143@lists.php.net to get a copy of this message | ||
what version of php4 are u using?
tc
On Mon, 4 Oct 1999, David Hjortsø wrote:
> Hi,
>
> I have been sitting here playing around with transferring data from one
> oracle database to another, now I have ociinternaldebug set to 1 and
> ocierror after each insert, which only reports:
> OCIDebug: oci_parse "insert into tbl_product values(0150,0,0150,'1',0,0)"
> id=140 conn=3
> This SHOULD work - but nothing gets inserted...
>
> So I thought I'd try that on PHP 3.0.12, and hey - with PHP3 it works (!!),
> and ociinternaldebug even gives me:
> OCIDebug: _oci8_free_stmt: id=444 last_query="insert into tbl_price
> values(0190,'SALGX', '0')"
>
> Which kinda makes me think that there is something wrong with oci8's
> freestatement under php4 -- and since ocierror doesnt work (?) it doesnt
> tell me that I've hit the max number of open cursors...
>
> I might be wrong, but this is what it looks like...
>
> PHP 4 gets to 10 (or so) inserts before crapping out while php3 completes at
> around 30K inserts :)
>
> Regards,
> David.
>
>
> --
> PHP 4 Beta
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany