Bug #3520 Updated: Fetch PB with select ... for update
| From: | Bug Database | Date: | Thu, 17 Feb 2000 15:48:18 +0000 |
| Subject: | Bug #3520 Updated: Fetch PB with select ... for update | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15637@lists.php.net to get a copy of this message | ||
ID: 3520
Updated by: thies
Reported By: eric.poisse@cermex.fr
Status: Closed
Bug Type: Oracle related
Assigned To:
Comments:
please do:
....
OCIExecute($stmt,OCI_DEFAULT);
....
OCICOmmit($connection);
the problem is that the default mode for OCIExecute is OCI_COMMIT_ON_SUCCESS - which ends the
current transaction.
that way "select ... for update" cannot work.
BTW: theres an ocierror function that would have given you some insights!
Full Bug description available at: http://bugs.php.net/?id=3520