aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Wiger <[email protected]>2011-01-27 19:33:34 +0100
committerHenrik Nord <[email protected]>2011-05-16 11:00:28 +0200
commitca1412a4f614942fcfe6601c3e8b5d6d2df153f7 (patch)
tree191bce520bde5ebd816b37cd1f5f9d185e0aa9cc
parentb10094bc2f120ceda0e927d31067670e26a0a4d7 (diff)
downloadotp-ca1412a4f614942fcfe6601c3e8b5d6d2df153f7.tar.gz
otp-ca1412a4f614942fcfe6601c3e8b5d6d2df153f7.tar.bz2
otp-ca1412a4f614942fcfe6601c3e8b5d6d2df153f7.zip
bug in mnesia_tm:needs_majority/2
-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]