[erlang-bugs] ets:from_dets/2 documentation error

Doug Edmunds dougedmunds@REDACTED
Wed Sep 5 19:09:39 CEST 2007


/lib/stdlib-1.14.5/doc/html/ets.html

documentation incorrectly shows the output of
ets:from_dets(Tab,DetsTab) -> Tab.

Output is not Tab. Filling the ETS table is a side effect of the function
call.
The corrected statement is

ets:from_dets(Tab,DetsTab) -> true

(Note "error in process" if either Tab or DetsTab is not open).


Doug Edmunds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20070905/039e3af9/attachment.htm>


More information about the erlang-bugs mailing list