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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nickv at vaz dot ru
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 08:01:28 2024 UTC