[php-maint] Bug#586570: odbc_autocommit broken

dirkydirk dirkydirk at gmx.net
Sun Jun 20 16:48:09 UTC 2010


Package: php5-odbc
Section: php
Architecture: amd64
Source: php5
Version: 5.3.2-1

Error: Transactions do not work.

As others had reported in bugs.php.net, odbc_autocommit($conn, false)
calls SQLGetConnectOption instead of Set.

It seems that this issue has been fixed in the upstream release. Cf.
http://lxr.php.net/xref/PHP_5_3/ext/odbc/php_odbc.c
Lines 2854ff: PHP_FUNCTION(odbc_autocommit)

The Debian sources still have the old and buggy code. Please provide an
update of the ODBC package. Till then, transactions cannot be used!

Thanks,
Dirk







More information about the pkg-php-maint mailing list