aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_locker.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-03-03 15:30:31 +0100
committerDan Gudmundsson <[email protected]>2014-03-28 09:55:57 +0100
commitfaae15d89ac03fce87f0370b011ed71f85d83d8b (patch)
treed27ece9491944a25fa205ae6565565facb58695c /lib/mnesia/src/mnesia_locker.erl
parentc57f0f96bab1951d9c5ecf80d64f0624e96d2417 (diff)
downloadotp-faae15d89ac03fce87f0370b011ed71f85d83d8b.tar.gz
otp-faae15d89ac03fce87f0370b011ed71f85d83d8b.tar.bz2
otp-faae15d89ac03fce87f0370b011ed71f85d83d8b.zip
mnesia: Dialyzer fixes
Diffstat (limited to 'lib/mnesia/src/mnesia_locker.erl')
-rw-r--r--lib/mnesia/src/mnesia_locker.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_locker.erl b/lib/mnesia/src/mnesia_locker.erl
index 32cea903c9..81b435c6dc 100644
--- a/lib/mnesia/src/mnesia_locker.erl
+++ b/lib/mnesia/src/mnesia_locker.erl
@@ -270,7 +270,8 @@ try_sticky_lock(Tid, Op, Pid, {Tab, _} = Oid) ->
try_lock(Tid, Op, Pid, Oid);
[{_,N}] ->
Req = {Pid, {Op, Tid, Oid}},
- Pid ! {?MODULE, node(), {switch, N, Req}}
+ Pid ! {?MODULE, node(), {switch, N, Req}},
+ true
end.
try_lock(Tid, read_write, Pid, Oid) ->