Bug #62241 [Nab]: PDO_Firebird
| From: | mr dot efrem at gmail dot com | Date: | Fri, 08 Jun 2012 09:07:07 +0000 |
| Subject: | Bug #62241 [Nab]: PDO_Firebird | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171133@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62241&edit=1
ID: 62241
User updated by: mr dot efrem at gmail dot com
Reported by: mr dot efrem at gmail dot com
Summary: PDO_Firebird
Status: Not a bug
Type: Bug
Package: PDO related
Operating System: Independ
PHP Version: 5.3.13
Block user comment: N
Private report: N
New Comment:
Please realize this functional
Previous Comments:
------------------------------------------------------------------------
[2012-06-07 17:01:19] felipe@php.net
Actually there is no way to set, and such code you have seen isn't executed at all, it's
surrounded by '#if abies_0 ... #endif'. Probably it was a planned feature, but not
implemented yet.
------------------------------------------------------------------------
[2012-06-06 09:12:17] mr dot efrem at gmail dot com
Description:
------------
How set isolation level and options for firebird transactions?
Test script:
---------------
I see in ext/pdo_firebird/firebird_driver.c this code:
/* called by PDO to start a transaction */
static int firebird_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */
....
if (dbh->transaction_flags & PDO_TRANS_ISOLATION_LEVEL) {
if (dbh->transaction_flags & PDO_TRANS_READ_UNCOMMITTED) {
/* this is a poor fit, but it's all we have */
*ptpb++ = isc_tpb_read_committed;
*ptpb++ = isc_tpb_rec_version;
...
How and where to send the flags PDO_TRANS_READ_COMMITTED, PDO_TRANS_READWRITE, PDO_TRANS_ABORT, ...
at the opening of the transaction functions PDO?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62241&edit=1