ID: 31498 Updated by: [EMAIL PROTECTED] Reported By: jj at intelequest dot com -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Windows XP / 2k3 PHP Version: 5.0.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-01-11 22:46:19] jj at intelequest dot com 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31498&edit=1
