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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.