Change not reflected when using ets:update_counter
Anindya Mozumdar
anindya@REDACTED
Tue Oct 11 14:43:17 CEST 2005
Hi,
I am using ets:update_counter/3 to update a field in a table which
has been created as follows :
mnesia:create_table(my_table,[{disc_copies, [node()]},{attributes,
record_info(fields, my_table)}])
While ets:tab2list/1 confirms that the change has actually taken place,
it is lost when I stop and start mnesia again ? Is there any way I can
ensure that the change persists when I stop mnesia ?
Thanks,
Anindya.
More information about the erlang-questions
mailing list