From:             php at zion-it dot com
Operating system: redhat
PHP version:      4.3.10
PHP Bug Type:     Feature/Change Request
Bug description:  enable mysql transactions per session instead per script

Description:
------------
You should be able to keep a database connection open (like persistent
connections) and execute transactions for mysql in another script for that
specific mysql user and ip address.

At the moment might apache create a new child process for a new http
request and that makes it impossible to reuse the open database
connection, because this new apache child process creates also a new
database connection.

The idea is that you can insert/delete/update in the mysql database and
check the consequences in related scripts. When you do not like that, then
you should be able to rollback and otherwise commit.

Expected result:
----------------
Full control of keeping database connections open and reuse them.


-- 
Edit bug report at http://bugs.php.net/?id=31838&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31838&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31838&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31838&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31838&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31838&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31838&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31838&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31838&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31838&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31838&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31838&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31838&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31838&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31838&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31838&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31838&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31838&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31838&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31838&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31838&r=mysqlcfg

Reply via email to