Bug #3520: Fetch PB with select ... for update
| From: | eric dot poisse at cermex dot fr | Date: | Thu, 17 Feb 2000 15:32:30 +0000 |
| Subject: | Bug #3520: Fetch PB with select ... for update | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15635@lists.php.net to get a copy of this message | ||
From: eric.poisse@cermex.fr
Operating system: Linux 2.2.5
PHP version: 3.0.12
PHP Bug Type: Oracle related
Bug description: Fetch PB with select ... for update
When I use the Select <xxx> from <table> FOR UPDATE, There is a Fetch PB during the
execution of the OCIfetch function
This PB don't appears without the FOR UPDATE clause.
$stmt = @OCIParse($connection, "select * from services for update");
// Calcul du nombre de lignes total de la requete
if (@OCIExecute($stmt)) {
while (OCIFetch($stmt)) {
....
}
PHP Compiled with --oracle lib