Removed possibility of accidentally handling gen_cast or gen_call in sqlite3:wait_result/1
This commit is contained in:
@@ -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}) ->
|
||||
|
||||
Reference in New Issue
Block a user