From:             james at kenjim dot com
Operating system: All
PHP version:      5.4Git-2012-10-03 (Git)
Package:          PDO related
Bug Type:         Feature/Change Request
Bug description:Add support for Firebird commit retaining transactions.

Description:
------------
Add the ability to do commit retaining transactions using the Firebird PDO
driver.  Commit retaining is faster when committing because it reuses
server transaction resources.  The downside is you are still in the old
transaction context so you won't see any new concurrent commits.  Commit
retaining is ideally used when you have lots of small transactions that do
not rely on other data that may be changed by another thread/user.

I have written a patch to add the ability to do commit retaining
transactions using 
$dbh->setAttribute(PDO::FB_ATTR_COMMIT_RETAINING, true);
Any following commits or rollbacks will use their retaining equivalent
after this attribute is set.  You can return to using normal commit and
rollbacks by setting the attribute to false.
$dbh->setAttribute(PDO::FB_ATTR_COMMIT_RETAINING, false);


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63215&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63215&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63215&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63215&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63215&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63215&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63215&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63215&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63215&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63215&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63215&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63215&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63215&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63215&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63215&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63215&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63215&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63215&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63215&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63215&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63215&r=mysqlcfg

Reply via email to