[erlang-patches] Patch for ODBC module

Kernel Panic alevandal@REDACTED
Wed Jan 9 09:53:16 CET 2013


Hi, folks.
I created a patch for erlang odbc module which solves the problem with
setup autocommit mode for connections established by Oracle ODBC
driver in Linux.
The issue: Oracle ODBC driver for Linux ignores setup autocommit mode
during driver initialization before a connection to database has been
established (in odbc module autocommit is set this way). My patch
solves this problem by setting autocommit mode after a connection to
database has been established.
Actually it's an Oracle ODBC driver problem, but  it could be very
useful to add this fix to erlang odbc module, because this module
allow to set autocommit mode only at the moment of connection
creation.
I sent this patch earlier in October 2012 but I didn't receive any feedback.

My updates:
git fetch git@REDACTED:RubberCthulhu/otp.git odbc-oracle-autocommit-fix

https://github.com/RubberCthulhu/otp/compare/odbc-oracle-autocommit-fix
https://github.com/RubberCthulhu/otp/compare/odbc-oracle-autocommit-fix.patch

Danil Onishchenko, alevandal@REDACTED



More information about the erlang-patches mailing list