[erlang-patches] odbc:auto_commit/{2,3}

Martynas Pumputis martynasp@REDACTED
Wed Oct 31 08:21:46 CET 2012


Hi again,

It seems that the problem is with odbc-mysql driver: when there are two 
simultaneous connections (auto_commit=off) and one commits a 
transaction, then the other one won't see any changes introduced by the 
transaction. But this is out of scope problem.

Anyway, I've fixed the test case, so, please, re-merge it:

git fetch git://github.com/brb/otp.git odbc_autocommit

https://github.com/brb/otp/compare/odbc_autocommit
https://github.com/brb/otp/compare/odbc_autocommit.patch

Thanks,
Martynas

On 10/30/2012 11:34 AM, Henrik Nord wrote:
> Hi You have introduced a few test case fails.
>
> odbc_query_SUITE:auto_commit failed on line 1483
> Reason: {badmatch,{ok,1}}
>
> Solaris 2.10 and linux 32 bit, skipped on 64
>
> ----------------------------------------------------------------
>
>
> ODBCINI = false
>
> **** User 2012-10-30 04:53:24.303 ****
> odbc_connect_SUITE:control_process_dies failed on line 296 Reason:
> {badmatch,{connected,<0.309.0>}}
>
> Drop table: "test_serverAtelendur" {error,
>                                         "[MySQL][ODBC 5.1 Driver][mysqld-5.1.41-3ubuntu12.10]Unknown table 'test_serverAtelendur' SQLSTATE IS: 42S02"}
>
>
>
> This is on Linux 32 bit, skipped on 64
>
> ----------------------------------------------------------------
>
> ODBCINI = false
>
> **** User 2012-10-30 04:53:24.222 **** odbc_connect_SUITE:port_dies
> failed on line 286 Reason: {badmatch,{status,waiting}}
>
> Drop table: "test_serverAtelendur" {error,
>                                         "[MySQL][ODBC 5.1 Driver][mysqld-5.1.41-3ubuntu12.10]Unknown table 'test_serverAtelendur' SQLSTATE IS: 42S02"}
>
>
> same Linux as before 32 bit, skipped on 64
>
>
> On 10/25/2012 08:13 AM, Martynas Pumputis wrote:
>> Hello,
>>
>> I'm sending my patch:
>>
>> git fetch git://github.com/brb/otp.git odbc_autocommit
>>
>> https://github.com/brb/otp/compare/odbc_autocommit
>> https://github.com/brb/otp/compare/odbc_autocommit.patch
>>
>> Best,
>> Martynas
>>
>>
>> _______________________________________________
>> erlang-patches mailing list
>> erlang-patches@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-patches
>
> --
> /Henrik Nord Erlang/OTP
>




More information about the erlang-patches mailing list