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;
|
Reply;
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
io:format("Error: ~p~n", [Reason]),
|
io:format("Error: ~p~n", [Reason]),
|
||||||
{error, Reason};
|
{error, Reason}
|
||||||
_Else ->
|
%% ;
|
||||||
io:format("Else: ~p~n", [_Else]),
|
%% _Else ->
|
||||||
_Else
|
%% io:format("Else: ~p~n", [_Else]),
|
||||||
|
%% _Else
|
||||||
end.
|
end.
|
||||||
|
|
||||||
exec(_Port, {create_function, _FunctionName, _Function}) ->
|
exec(_Port, {create_function, _FunctionName, _Function}) ->
|
||||||
|
|||||||
Reference in New Issue
Block a user