Mnesia Core Dump

Rudolph van Graan rvg@REDACTED
Thu Mar 4 15:19:10 CET 2004


Do this:

(rvg@REDACTED)70>  
mnesia: 
create_table(aaa,[{disc_copies,[node()]},{attributes,[a,b,c]},{index,[b, 
b,b]}]).
{atomic,ok}

(rvg@REDACTED)71> mnesia:table_info(aaa,index).
[3,3,3]

(rvg@REDACTED)72> mnesia:del_table_index(aaa,3).
{atomic,ok}

(rvg@REDACTED)71> mnesia:table_info(aaa,index).
[3,3]

(rvg@REDACTED)72> mnesia:del_table_index(aaa,3).
<KABOOM>

I know I should not repeat an index... But the problem here is that I  
have a couple of complex routines with the purpose of figuring out  
indices... Somewhere is a bug that causes it to duplicate some  
values....

Rudolph van Graan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2112 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040304/5a3dcae8/attachment.bin>


More information about the erlang-questions mailing list