php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2543 I can't turn off AUTOCOMMIT
Submitted: 1999-10-16 05:39 UTC Modified: 2002-06-16 14:16 UTC
From: nickv at vaz dot ru Assigned:
Status: Not a bug Package: Oracle related
PHP Version: 3.0.9 OS: SCO UNIX
Private report: No CVE-ID: None
 [1999-10-16 05:39 UTC] nickv at vaz dot ru
Sorry, but previous msg has bad e_mail !
Hi!
The thing is I can't rollback transaction during
Oracle 7.3.3 connection.
I tried:

 $conn=ora_logon("scott","tiger");
 ora_commitoff($conn);
 $curs=ora_open($conn);
   ora_parse($curs,"insert ...");
   ora_exec($curs);
   ora_rallback($conn);
 ora_close($curs);
 ora_logoff($conn);

And my database had new line !
Then I tried:

 $conn=ora_logon("scott","tiger");
 $curs=ora_open($conn);
 ora_parse($curs,"set autocommit off");
 ora_exec($curs);
 ...
But Oracle returns parsing error...
May be I do somthing wrong ???

OS: SCO Unix
PHP: 3.0.9

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 14:16 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 01:01:29 2024 UTC