php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #74536 PDO_TRANS_ISOLATION_LEVEL not deifned
Submitted: 2017-05-03 13:38 UTC Modified: 2023-12-22 02:21 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: swatoff at gmail dot com Assigned: ramsey (profile)
Status: Closed Package: PDO Firebird
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: swatoff at gmail dot com
New email:
PHP Version: OS:

 

 [2017-05-03 13:38 UTC] swatoff at gmail dot com
Description:
------------
We need use custom isolation level of firebird transaction.
In source code

https://github.com/php/php-src/blob/PHP-7.1.5/ext/pdo_firebird/firebird_driver.c#L325-L364

But constant PDO_TRANS_ISOLATION_LEVEL and others is not defined.
And will this code working, if we compile this with abies_0 directive?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-05 11:53 UTC] cmb@php.net
-Type: Bug +Type: Feature/Change Request
 [2021-08-05 11:53 UTC] cmb@php.net
This code has been added more than 15 years ago[1], and from the
commit message, it's not even clear whether it has been done
deliberately.  Obviously, the feature is not ready for production,
and likely the code even never compiled.

Anyhow, lack of transaction isolation level support is not a bug.
Re-classifying as feature request.

[1] <https://github.com/php/php-src/commit/350e5aa862639bc77cf19ec0a920c008192be430>
 [2023-12-22 02:21 UTC] ramsey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ramsey
 [2023-12-22 02:21 UTC] ramsey@php.net
The fix for this bug has been committed.
If you are still experiencing this bug, try to check out latest source from https://github.com/php/php-src and re-test.
Thank you for the report, and for helping us make PHP better.

Fixed in https://github.com/php/php-src/pull/12815
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 03:01:29 2024 UTC