php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51331 ODBC DB2 autocommit don't work
Submitted: 2010-03-19 14:34 UTC Modified: 2010-03-20 19:19 UTC
From: frenky dot pv at atlas dot cz Assigned: felipe (profile)
Status: Closed Package: ODBC related
PHP Version: 5.3.2 OS: Win 7
Private report: No CVE-ID: None
 [2010-03-19 14:34 UTC] frenky dot pv at atlas dot cz
Description:
------------
Transaction (test script) was not rollbacked in PHP 5.3.2.
Same code in PHP 5.2.13 works corectly.

Test script:
---------------
$dbCon = ODBC_pconnect ("db2_po", "name", "pass", SQL_CUR_USE_ODBC );
odbc_autocommit( $dbCon, false );
$sql_output = ODBC_exec ($dbCon, 'UPDATE...')
odbc_rollback( $dbCon );



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-20 19:19 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=296467
Log: - Fixed bug #49429, #51331 (odbc_autocommit doesn't work)
 [2010-03-20 19:19 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 [2010-03-20 19:19 UTC] felipe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 18:01:31 2024 UTC