mnesia:transaction aborting
"Peter J Etheridge" <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Fellow Erlangers,
I run;
mnesia:transaction(fun() ->
case mnesia:wread({pw_usr_record, pw_un}) of
[Usr] ->
Usr = #pw_usr_record{pw_un = Username,
pw_pas = Password},
mnesia:write(pw_usr_record, Usr,
write),
catch mnesia:abort("aborted")
end
end),
result;
mnesia:info().
---> Processes holding locks Processes waiting for locks Participant
transactions Coordinator transactions Uncertain transactions Active
tables System info in version "4.17", debug level = verbose