RE: Bug #3520 Updated: Fetch PB with select ... for update
| From: | Poisse Eric | Date: | Thu, 17 Feb 2000 15:59:23 +0000 |
| Subject: | RE: Bug #3520 Updated: Fetch PB with select ... for update | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15638@lists.php.net to get a copy of this message | ||
Thanks !
-----Message d'origine-----
De : Bug Database [mailto:php-dev@lists.php.net]
Envoyé : jeudi 17 février 2000 16:48
À : eric.poisse@cermex.fr; php-dev@lists.php.net
Objet : Bug #3520 Updated: Fetch PB with select ... for update
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