odbc.erl problem (was: Re: gen_server)

Daniel Néri daniel.neri@REDACTED
Fri Mar 22 12:56:43 CET 2002


"Yurii A. Rashkovskii" <yrashk@REDACTED> writes:

> Another addition to conditions - gen_server uses ODBC executeStmt
> function calls.

I don't know if it concerns you, but since I got bitten by it earlier
this week: wait_result/2 called by odbc:erl_executeStmt/3 contains a
rather unforgiving receive clause which catches any message sent to
the calling process.

Attached below is a quick fix. I think this code needs some rethinking
but my dead-line didn't allow that...


Regards,
   --Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 300 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020322/7885b631/attachment.bin>
-------------- next part --------------

-- 
Daniel N?ri
Sigicom AB, Sweden


More information about the erlang-questions mailing list