Removed possibility of accidentally handling gen_cast or gen_call in sqlite3:wait_result/1

This commit is contained in:
Alexey Romanov
2010-10-19 18:43:54 +04:00
parent 9c28f38027
commit 535992b560

View File

@@ -613,10 +613,11 @@ wait_result(Port) ->
Reply;
{error, Reason} ->
io:format("Error: ~p~n", [Reason]),
{error, Reason};
_Else ->
io:format("Else: ~p~n", [_Else]),
_Else
{error, Reason}
%% ;
%% _Else ->
%% io:format("Else: ~p~n", [_Else]),
%% _Else
end.
exec(_Port, {create_function, _FunctionName, _Function}) ->