[erlang-bugs] Incorrect result from QLC
Hans Bolinder
hans.bolinder@REDACTED
Fri Sep 4 08:56:17 CEST 2009
[Sam Bobroff:]
> The following test program produces a set of results with two entries
> for key 1, from an ordered_set table. The result I get is:
>
> Records with val =:= 1: [{rec,1,1},{rec,2,1},{rec,1,1}]
>
> It is clearly incorrect for an 'ordered_set' table to have two entries
> with a key of 1 (and the duplicate entry vanishes after the transaction
> completes).
Thanks for the bug report.
It seems that mnesia:index_read() is buggy. I think the person working
with Mnesia will correct it before R13B02.
Best regards,
Hans Bolinder, Erlang/OTP team, Ericsson
More information about the erlang-bugs
mailing list