mnesia_frag, mnesia:restore, {aborted, nested_transaction}

chandru chandrashekhar.mullaparthi@REDACTED
Tue Mar 7 09:15:29 CET 2006


On 07/03/06, Sanjaya Vitharana <sanjaya@REDACTED> wrote:
>
> Hi ... All,
>
> Below transection failed with {aborted, nested_transaction} on fragmented
> table.
>
>  RestoreFun = fun(DbRestoreFile) ->
>   mnesia:restore(DbRestoreFile,[])
>  end,
>
> mnesia:activity(transaction, RestoreFun, [DBRestoreFileName], mnesia_frag)
>

You can't put a schema transaction within a normal transaction.
mnesia:restore basically restores your schema along with other tables
from the backup file.

cheers
Chandru



More information about the erlang-questions mailing list