#31838 [NEW]: enable mysql transactions per session instead per script
| From: | php at zion-it dot com | Date: | Thu, 03 Feb 2005 23:56:40 +0000 |
| Subject: | #31838 [NEW]: enable mysql transactions per session instead per script | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73428@lists.php.net to get a copy of this message | ||
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