[erlang-patches] Patch for ODBC module
Wed Jan 9 13:37:15 CET 2013
This patch fails to build:
odbcserver.c: In function ‘db_connect’:
odbcserver.c:538:2: error: too few arguments to function ‘get_diagnos’
odbcserver.c:250:16: note: declared here
odbcserver.c:541:2: error: too few arguments to function ‘encode_error_message’
odbcserver.c:157:22: note: declared here
Please fix this and give notice when it is done.
BR Fredrik Gustafsson
Erlang OTP Team
On 01/09/2013 09:53 AM, Kernel Panic wrote:
> 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
> I sent this patch earlier in October 2012 but I didn't receive any feedback.
> My updates:
> git fetch :RubberCthulhu/otp.git odbc-oracle-autocommit-fix
> Danil Onishchenko,
> erlang-patches mailing list
More information about the erlang-patches