|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31498 Transactions broken with upgrade from 5.0.2 to 5.0.3
Submitted: 2005-01-11 22:46 UTC Modified: 2005-01-12 17:49 UTC
From: jj at intelequest dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 5.0.3 OS: Windows XP / 2k3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
14 + 32 = ?
Subscribe to this entry?

 [2005-01-11 22:46 UTC] jj at intelequest dot com
When passing the "begin tran", "rollback tran" or "commit tran" methods the process dies on exectuing $this->query("begin tran"); 

If you port the platform back to 5.0.2 everything runs fine.

Reproduce code:
mssql_query('begin tran');
$result = mssql_query('insert into table_name (fname, lname) values ('joe', 'bob')');
mssql_query('rollback tran');

mssql_query('commit tran');

Expected result:
To run the main query and rollback the transaction if the query failed .

Actual result:
Stops on the begin tran and processes nothing else.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-12 09:06 UTC]
Please try using this CVS snapshot:
For Windows:
 [2005-01-12 17:49 UTC] jj at intelequest dot com
Issue is corrected with PHP 5.0.4-dev (cli) (built: Jan 12 2005 10:23:43).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 20:01:30 2024 UTC