aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mnesia/src/mnesia_tm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl
index 0b87c40add..01abc14a81 100644
--- a/lib/mnesia/src/mnesia_tm.erl
+++ b/lib/mnesia/src/mnesia_tm.erl
@@ -1257,7 +1257,7 @@ needs_majority(Tab, #prep{majority = M}) ->
{'EXIT', _} ->
M;
false ->
- [{Tab, []} | M];
+ M;
true ->
CopyHolders = val({Tab, all_nodes}),
[{Tab, CopyHolders} | M]