summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 0ab51b363e..b089014476 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -45,12 +45,8 @@
-record(amqqueue, {name, durable, auto_delete, arguments, pid}).
-%% In the route and reverse route record definitions,
-%% theconstant field seems to be required because the
-%% underlying storage is ets, which stores key value pairs.
-%% The binding field is made up of an {Exchange, Binding, Queue}
+%% mnesia doesn't like unary records, so we add a dummy 'value' field
-record(route, {binding, value = const}).
-%% The reverse_binding field is made up of an {Queue, Binding, Exchange}
-record(reverse_route, {reverse_binding, value = const}).
-record(binding, {exchange_name, key, queue_name}).