OCI8 Module half-broken?
| From: | David Hjortsø | Date: | Mon, 04 Oct 1999 17:14:30 +0000 |
| Subject: | OCI8 Module half-broken? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5142@lists.php.net to get a copy of this message | ||
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.