correct the insert function spec

This commit is contained in:
qingliangcn
2013-11-28 00:29:25 +08:00
parent a921bd65b2
commit fc102d9024
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ close(_Db, _Ref, _Dest) ->
%% @doc Insert record
%%
%% @spec insert(connection(), Ref::reference(), Dest::pid(), string()) -> ok | {error, message()}
%% @spec insert(connection(), Ref::reference(), Dest::pid(), string()) -> {ok, integer()} | {error, message()}
insert(_Db, _Ref, _Dest, _Sql) ->
exit(nif_library_not_loaded).