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: 2021-08-05 11:53 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:
Status: Open Package: PDO Firebird
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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>
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 04:03:39 2021 UTC