summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-28 13:26:18 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-28 13:26:18 +0100
commitddcf5b09ccca8c8cd52c17235559cba38f38349f (patch)
tree53387722f8dc649e1118e0f5b2df114fc746e97d /src
parent661cbcfd65cc609ce6123d7d202e2e571df09817 (diff)
downloadrabbitmq-server-git-ddcf5b09ccca8c8cd52c17235559cba38f38349f.tar.gz
Removal of 12B5-ism. All tests now pass
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_exchange.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl
index 1cfba00eb2..6f52dd7c08 100644
--- a/src/rabbit_exchange.erl
+++ b/src/rabbit_exchange.erl
@@ -382,7 +382,7 @@ add_binding(ExchangeName, QueueName, RoutingKey, Arguments) ->
if Q#amqqueue.durable and not(X#exchange.durable) ->
{error, durability_settings_incompatible};
true ->
- case mnesia:read(rabbit_route, B) of
+ case mnesia:read({rabbit_route, B}) of
[] ->
sync_binding(B, Q#amqqueue.durable,
fun mnesia:write/3),