[erlang-questions] problems with creating table named 'user' in ets

cavaluo cavaluo@REDACTED
Thu Aug 9 05:07:48 CEST 2012


Hi,
  when i create a new ets table named 'user',result returned 'ok',and also
i can do any operaton on it,but i can't find in The Table Visualizer,why?

 (cavaluo@REDACTED)15> ets:new(user,[set,public,named_table]).
  user
(cavaluo@REDACTED)18> ets:info(user).
[{compressed,false},
 {memory,316},
 {owner,<0.37.0>},
 {heir,none},
 {name,user},
 {size,0},
 {node,'cavaluo@REDACTED'},
 {named_table,true},
 {type,set},
 {keypos,1},
 {protection,public}]

(cavaluo@REDACTED)20> ets:insert(user,{test,1,2,3}).
true
(cavaluo@REDACTED)21> ets:lookup(user,test).
[{test,1,2,3}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120809/cb5ee9f1/attachment.htm>


More information about the erlang-questions mailing list