Create table in a transaction
Thu Nov 2 13:23:40 CET 2000
Sorry, but you can't do schema_transactions inside a normal transaction.
I got some requests on this but it is a lot of work do it rigth
with current implementation..
Chandrashekhar Mullaparthi writes:
> I can't create a table within a transaction. Why is that?? A comment in
> mnesia_schema.erl says that a "very special transaction is used when we want
> to manipulate the schema". Basically what I want to do is:
> * Do some checks
> * Update table_1
> * create table_2
> * Make entries in table_2
> in one single transaction. I'm failing at step 3.
More information about the erlang-questions