Edit report at https://bugs.php.net/bug.php?id=62241&edit=1

 ID:                 62241
 Updated by:         fel...@php.net
 Reported by:        mr dot efrem at gmail dot com
 Summary:            PDO_Firebird
-Status:             Open
+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:

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.


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to