aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-12-02 10:08:59 +0100
committerDan Gudmundsson <[email protected]>2010-12-02 10:08:59 +0100
commitf614916f28703dce2067408cb3f5e2850ce9cacb (patch)
tree0d1c32062e3b87a52cb5f47e6c553add521949ea
parente7104d8028630d9308d40e5cd4580d503b62b64f (diff)
parent5615cca635bedfe78c6646cf0c35239c5dee6afb (diff)
downloadotp-f614916f28703dce2067408cb3f5e2850ce9cacb.tar.gz
otp-f614916f28703dce2067408cb3f5e2850ce9cacb.tar.bz2
otp-f614916f28703dce2067408cb3f5e2850ce9cacb.zip
Merge branch 'dgud/mnesia/log_header_bug/OTP-8960' into dev
* dgud/mnesia/log_header_bug/OTP-8960: Created wrong header in dcd files when creating files at startup.
-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,