Calling mnesia:first/1 and mnesia:last/1 on fragmented tables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Calling mnesia:first/1 and mnesia:last/1 on fragmented tables

Sergiu Cojocaru
Hi,

Is it possible to get the expected first and last records from a fragmented table, using mnesia:first/1 and mnesia:last/1 functions? From my testing, when using these functions with mnesia:activity, the returned records do not correspond to the actually first and last inserted data.

If mnesia:first/1 and mnesia:last/1 do not work, is it possible maybe achieve the desired result using some other functions/technics?

Many thanks,
Sergiu

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions