aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_subscr.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-11-12 14:44:44 +0100
committerDan Gudmundsson <[email protected]>2014-11-12 14:51:21 +0100
commitdff52d0b26869caab886c82f71f0b11cbcdd33b1 (patch)
treef837ff1116837cd7be682ecbb890a8e3facfcdfa /lib/mnesia/src/mnesia_subscr.erl
parentb3741f2b8e2ed9f370abb029160d1817497436e1 (diff)
downloadotp-dff52d0b26869caab886c82f71f0b11cbcdd33b1.tar.gz
otp-dff52d0b26869caab886c82f71f0b11cbcdd33b1.tar.bz2
otp-dff52d0b26869caab886c82f71f0b11cbcdd33b1.zip
mnesia: Fix match_object bug
match_object returned wrong objects when matching on non key fields and updates in the same transaction had been performed.
Diffstat (limited to 'lib/mnesia/src/mnesia_subscr.erl')
-rw-r--r--lib/mnesia/src/mnesia_subscr.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_subscr.erl b/lib/mnesia/src/mnesia_subscr.erl
index 9272211ad2..866a57e370 100644
--- a/lib/mnesia/src/mnesia_subscr.erl
+++ b/lib/mnesia/src/mnesia_subscr.erl
@@ -225,7 +225,7 @@ call(Msg) ->
Res = gen_server:call(Pid, Msg, infinity),
%% We get an exit signal if server dies
receive
- {'EXIT', _Pid, _Reason} ->
+ {'EXIT', Pid, _Reason} ->
{error, {node_not_running, node()}}
after 0 ->
Res