Mnesia problems

Dietmar Schaefer <>
Mon Mar 21 13:47:49 CET 2005


Hi

I  am trying to processing a table using

 DoAction = fun() -> mnesia:foldl(Action,[],bufferedMessages,write)end,

The DoAction is a little bit too long and complicated to be listed here 
but maybe you know what's going
on here ?


I get:

transaction DoAction aborted 
{badarg,[{ets,match_object,[377,{{locks,bufferedMessages,'______WHOLETABLE_____'},'_'}]},{mnesia_locker,need_lock,4},{mnesia_locker,rlock,3},{mnesia,read,5},{mnesia,do_foldl,8},{mnesia,foldl,6},{mnesia_tm,apply_fun,3},{mnesia_tm,execute_transaction,5},{cmmc_db,processBufferedMessages,0},{cmmc_com,decode,1}]}



Regards


Dietmar



More information about the erlang-questions mailing list