[erlang-patches] Patch for ODBC module
Fredrik
fredrik@REDACTED
Wed Jan 9 13:37:15 CET 2013
Hello again,
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
> 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
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
More information about the erlang-patches
mailing list