Mnesia Core Dump

Dan Gudmundsson <>
Mon Mar 8 12:45:36 CET 2004


Thanks 

I will probably forbid creating multiple indecies on the same
position..

/Dan

Rudolph van Graan writes:
 > Do this:
 > 
 > ()70>  
 > mnesia: 
 > create_table(aaa,[{disc_copies,[node()]},{attributes,[a,b,c]},{index,[b, 
 > b,b]}]).
 > {atomic,ok}
 > 
 > ()71> mnesia:table_info(aaa,index).
 > [3,3,3]
 > 
 > ()72> mnesia:del_table_index(aaa,3).
 > {atomic,ok}
 > 
 > ()71> mnesia:table_info(aaa,index).
 > [3,3]
 > 
 > ()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


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.




More information about the erlang-questions mailing list