Mnesia problems
Dan Gudmundsson
dgud@REDACTED
Mon Mar 21 15:19:06 CET 2005
Hmm, that shouldn't happen, looks like a bug, can you email me the
code or a snippet of it that reproduces the fault.
/Dan
Dietmar Schaefer writes:
> 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