php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58715 Auto Commit Emulation does not work
Submitted: 2009-06-10 10:21 UTC Modified: 2009-06-11 13:25 UTC
From: grant dot croker at ingres dot com Assigned:
Status: Closed Package: ingres (PECL)
PHP Version: 5.2.9 OS: Linux
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: grant dot croker at ingres dot com
New email:
PHP Version: OS:

 

 [2009-06-10 10:21 UTC] grant dot croker at ingres dot com
Description:
------------
With "ingres.auto" enabled a SELECT followed by an INSERT/DELETE/UPDATE causes the SELECT to be closed.

Reproduce code:
---------------
<?php
$con = ingres_connect("drupal", "apache");
ingres_autocommit($con);
$res = ingres_query($con, "SELECT * FROM role");

while($arr = ingres_fetch_array($res))
{
        var_dump($arr);
        echo "<br />";
        ingres_query($con, "DELETE FROM permission where rid = 762");
}
?> 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-11 13:25 UTC] grant dot croker at ingres dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC