Problem creating mnesia table

Eric Merritt cyberlync@REDACTED
Thu Aug 19 22:16:24 CEST 2004


Guys,

 I am having a bit of a problem  creating a  disc_copies  of a mnesia
table. Every time  I try to run the following I  get back a
{aborted,{bad_type,test,disc_copies,nonode@REDACTED}}

However, according to  every example  I can find this is correct.

 Table_def = [{attributes,  Field_list},
		 {disc_copies, [node()]}]

 mnesia:create_table(Name, Table_def)

 

Any help would be appreciated.
Thanks,
Eric

-- 
Any sufficiently complicated C or Fortran program contains an ad-hoc,
informally-specified, bug-ridden, slow implementation of half of Lisp



More information about the erlang-questions mailing list