aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_log.erl
diff options
context:
space:
mode:
authorUlf Wiger <ulf.wiger@klarna.com>2015-11-05 14:38:30 +0100
committerDan Gudmundsson <dgud@erlang.org>2016-05-09 14:52:11 +0200
commit8015bd895687fc021e3861be2abdc8370a31db73 (patch)
treed3a880e357490b63099f4e4bf81d09a06cd48529 /lib/mnesia/src/mnesia_log.erl
parent22a1b438a34fcdf6d36019981fa303d8a5162500 (diff)
downloadotp-8015bd895687fc021e3861be2abdc8370a31db73.tar.gz
otp-8015bd895687fc021e3861be2abdc8370a31db73.tar.bz2
otp-8015bd895687fc021e3861be2abdc8370a31db73.zip
mnesia_ext: Add ext copies to records
Diffstat (limited to 'lib/mnesia/src/mnesia_log.erl')
-rw-r--r--lib/mnesia/src/mnesia_log.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mnesia/src/mnesia_log.erl b/lib/mnesia/src/mnesia_log.erl
index 36135418c8..d9f46d1d96 100644
--- a/lib/mnesia/src/mnesia_log.erl
+++ b/lib/mnesia/src/mnesia_log.erl
@@ -226,6 +226,7 @@ sappend(Log, Term) ->
%% Write commit records to the latest_log
log(C) when C#commit.disc_copies == [],
C#commit.disc_only_copies == [],
+ C#commit.external_copies == [],
C#commit.schema_ops == [] ->
ignore;
log(C) ->
@@ -249,6 +250,7 @@ log(C) ->
slog(C) when C#commit.disc_copies == [],
C#commit.disc_only_copies == [],
+ C#commit.external_copies == [],
C#commit.schema_ops == [] ->
ignore;
slog(C) ->