[erlang-bugs] mnesia_loader:db_match_erase/2 can only badmatch with dets

Paul Mineiro <>
Sun Jul 20 23:30:45 CEST 2008


Heads up, I found another instance of the same problem in
mnesia_index:db_match_erase/2 .

-- p

On Sun, 20 Jul 2008, Paul Mineiro wrote:

> The return value of dets:match_delete/2 is an integer, or an error tuple;
> mnesia_loader is matching against ok.
>
> Attached is a suggested patch.
>
> -- p
>
> p.z. I wonder if the dialyzer would have found this ...

In an artificial world, only extremists live naturally.

        -- Paul Graham



More information about the erlang-bugs mailing list