Bug #51331 [Opn->Csd]: ODBC DB2 autocommit don't work

From: Date: Sat, 20 Mar 2010 18:19:35 +0000
Subject: Bug #51331 [Opn->Csd]: ODBC DB2 autocommit don't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148793@lists.php.net to get a copy of this message
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)

« previous php.bugs (#148793) next »