summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hood <0x6e6562@gmail.com>2008-09-21 19:12:31 +0100
committerBen Hood <0x6e6562@gmail.com>2008-09-21 19:12:31 +0100
commit50bc4b1d1b174eb3ad6719c80ec4adae395a68cd (patch)
tree35c32229de8830c8d9fbf028c1db9eba78cdc9d3
parentb0add05c7c761e929fb915e41442cb20e402e788 (diff)
downloadrabbitmq-server-git-50bc4b1d1b174eb3ad6719c80ec4adae395a68cd.tar.gz
Added type signature for execute_mnesia_transaction/2
-rw-r--r--src/rabbit_misc.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index c41147d108..6660aa95f3 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -79,6 +79,7 @@
-spec(with_vhost/2 :: (vhost(), thunk(A)) -> A).
-spec(with_user_and_vhost/3 :: (username(), vhost(), thunk(A)) -> A).
-spec(execute_mnesia_transaction/1 :: (thunk(A)) -> A).
+-spec(execute_mnesia_transaction/2 :: (thunk(A), any()) -> A).
-spec(ensure_ok/2 :: ('ok' | {'error', any()}, atom()) -> 'ok').
-spec(localnode/1 :: (atom()) -> node()).
-spec(tcp_name/3 :: (atom(), ip_address(), ip_port()) -> atom()).