|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77888 autocommit is not working !!
Submitted: 2019-04-13 16:31 UTC Modified: -
From: ch dot derenne at gmail dot com Assigned:
Status: Open Package: PDO Firebird
PHP Version: 7.3.4 OS: fedora28
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:
Bug Type:
From: ch dot derenne at gmail dot com
New email:
PHP Version: OS:


 [2019-04-13 16:31 UTC] ch dot derenne at gmail dot com
Autocommit is not working well with firebird :
In fact :
Create a selecatble stored procedure that juste insert a row in a table

Connect to pdo firebird database
Use autocommit :
$db->setAttribute( PDO::ATTR_AUTOCOMMIT, 1 );

Call the stored procedure
Close the connection

Do a select of tha table : the row is not present !!
Now insert a commit just before closing connection.
Execute the script : the row is present !!

Expected result:
The transaction should be commited

Actual result:
The transaction is not commited


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 21 18:03:37 2021 UTC