[erlang-questions] mnesia:dirty_update_counter returns 'ok' in R14B04

Jamie Brandon <>
Mon Jan 16 14:13:15 CET 2012


The docs state that mnesia:dirty_update_counter should return NewVal
(http://www.erlang.org/documentation/doc-5.8.5/lib/mnesia-4.5/doc/html/mnesia.html#dirty_update_counter-2).

In fact, I get:

()7> mnesia:dirty_read(external_eid, all).
[{external_eid,all,3235}]
()8>
mnesia:dirty_update_counter(external_eid, all, 1).
ok
()9>
mnesia:dirty_read(external_eid, all).
[{external_eid,all,3236}]

This is not particularly helpful :-|

Can anyone shed any light on this? The table is created with default options.



More information about the erlang-questions mailing list