|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-12 09:06 UTC] derick@php.net
[2005-01-12 17:49 UTC] jj at intelequest dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Description: ------------ 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')'); if(!$result) { 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.