Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  Clear fragmented mnesia tables

frs235
Posted: Wed Feb 17, 2010 10:56 am Reply with quote
Joined: 17 Feb 2010 Posts: 2
Hi,
why does this code not work?

Code:
clear() ->
F = fun() ->
    mnesia:clear_table(demo)
end,
   
mnesia:activity(transaction, F, [], mnesia_frag).


I just get {aborted,nested_transaction}
How can i clear fragmented mnesia tables?

frs235
View user's profile Send private message
frs235
Posted: Fri Feb 19, 2010 8:45 am Reply with quote
Joined: 17 Feb 2010 Posts: 2
Sorry, but does nobody the answer? I think it should be possible to clear a fragmented table.

frs235
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum