aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_dumper.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-11-29 16:10:09 +0100
committerDan Gudmundsson <[email protected]>2010-11-29 16:10:09 +0100
commit5615cca635bedfe78c6646cf0c35239c5dee6afb (patch)
tree1006c83604d5be2e9ff88d8e762539aaedf16a8b /lib/mnesia/src/mnesia_dumper.erl
parenta583c16d79b3a5299ce1b5482f1fb0a88d845a51 (diff)
downloadotp-5615cca635bedfe78c6646cf0c35239c5dee6afb.tar.gz
otp-5615cca635bedfe78c6646cf0c35239c5dee6afb.tar.bz2
otp-5615cca635bedfe78c6646cf0c35239c5dee6afb.zip
Created wrong header in dcd files when creating files at startup.
That caused a 'log_header' entry to added to the disc_copies tables.
Diffstat (limited to 'lib/mnesia/src/mnesia_dumper.erl')
-rw-r--r--lib/mnesia/src/mnesia_dumper.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/src/mnesia_dumper.erl b/lib/mnesia/src/mnesia_dumper.erl
index f669d009c6..644133cf5d 100644
--- a/lib/mnesia/src/mnesia_dumper.erl
+++ b/lib/mnesia/src/mnesia_dumper.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2009. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2010. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -643,7 +643,7 @@ insert_op(Tid, _, {op, create_table, TabDef}, InPlace, InitBy) ->
true -> ignore;
false ->
mnesia_log:open_log(temp,
- mnesia_log:dcl_log_header(),
+ mnesia_log:dcd_log_header(),
Dcd,
false,
false,