[erlang-questions] Re: Change node name in mnesia

Dan Gudmundsson dgud@REDACTED
Sat Jul 3 09:09:31 CEST 2010


Are you seeing those in the ets table?

They should not be in the table, they are what they say the  header of
a TABLE.DCL file.

Either you or I have some improvements to do :-)

/Dan

On Sat, Jul 3, 2010 at 12:28 AM, Vance Shipley <vances@REDACTED> wrote:
> Is it valid to have records in an mnesia table of this form:
>
>  {log_header,dcl_log,"1.0","4.4.10",'foo@REDACTED',{1266,113437,587068}},
>
> The tables seem to be working fine even though these entries are
> there which obviously do not have the correct OID for the table.
>
> What I'd like to understand is if I've broken the tables myself
> or if this type of thing is valid and I should just deal with
> them when traversing a table with mnesia:foldl/3.
>
>        -Vance
>
> On Sat, Feb 13, 2010 at 10:19:24PM -0500, Vance Shipley wrote:
> }  I used the example in the Mnesia User's Guide to backup
> }  and transform a database from a long node name to a short
> }  one.  That all seemed to go smoothly enough but now I'm
> }  noticing these strange records in my tables:
> }
> }     {log_header,dcl_log,"1.0","4.4.10",'foo@REDACTED',{1266,113437,587068}},
> }
> }  I discovered this using mnesia:foldl/3.  Is this normal
> }  or have I messed things up?
> }
> }  --
> }       -Vance
> }
> }  ________________________________________________________________
> }  erlang-questions (at) erlang.org mailing list.
> }  See http://www.erlang.org/faq.html
> }  To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
> --
>        -Vance
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list