Bug #51331 [Opn->Csd]: ODBC DB2 autocommit don't work
Edit report at http://bugs.php.net/bug.php?id=51331&edit=1
ID: 51331
Updated by: felipe@php.net
Reported by: frenky dot pv at atlas dot cz
Summary: ODBC DB2 autocommit don't work
-Status: Open
+Status: Closed
Type: Bug
Package: ODBC related
Operating System: Win 7
PHP Version: 5.3.2
-Assigned To:
+Assigned To: felipe
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2010-03-20 19:19:20] 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-19 14:34:21] 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 );
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51331&edit=1
Thread (2 messages)