php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11356 functions to use mysql-berkely-DBs-functions (commit,rollback)
Submitted: 2001-06-08 08:42 UTC Modified: 2001-09-26 19:11 UTC
From: lp at rolmail dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.4pl1 OS: Linux RH 7.0
Private report: No CVE-ID: None
 [2001-06-08 08:42 UTC] lp at rolmail dot net
I have installed Mysql 3.32.38 with berkeley-support for transactional database-tables. it works fine in the command line, but i don't know how i can use the transaction commands (commit, rollback) in php? 

Can i do a it with the function

mysql_query("rollback");
mysql_query("commit");

or is there another way. 
I have just tried this functions but my script does not finish befor i don't make a commit in the command line. The rollback-option doesn't work anywere. 

Thanx a lot
Lukas Pirhofer

                             Anybody have just tested it? 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-26 19:11 UTC] mrobinso@php.net
Please ask support questions on the various
related php mailing lists. There is currently
a list for both general support and db related
support.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 14:00:02 2025 UTC