[erlang-questions] mnesia:delete on nonexistent key: ok?

Hakan Mattsson <>
Mon Jun 9 17:12:22 CEST 2008


On Mon, 9 Jun 2008, Ignatios Souvatzis wrote:

IS> does mnesia:delete on a tab/key that's not there return ok?
IS> 
IS> (I seem to observe this, but I'm can't find documentation on whether
IS> this is the intended behaviour.)

Yes, it is the intended behavior. Mnesia, ets and dets
all regards this as a normal case (not an error).

/Håkan
---
Håkan Mattsson
Erlang/OTP, Ericsson


More information about the erlang-questions mailing list