php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-04-13 16:31 UTC] ch dot derenne at gmail dot com
Description:
------------
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:26 2019 UTC