summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hood <0x6e6562@gmail.com>2008-09-21 18:09:56 +0100
committerBen Hood <0x6e6562@gmail.com>2008-09-21 18:09:56 +0100
commit941d8a3740bd0a45e70b9211c2eb6b9561c9cf67 (patch)
tree3f1c3842470e464a6ea94065aaf0b59996e09656
parent969ff33484038be5836330e046bcc911e3b035d7 (diff)
downloadrabbitmq-server-git-941d8a3740bd0a45e70b9211c2eb6b9561c9cf67.tar.gz
Revised full table scan comment
-rw-r--r--src/rabbit_exchange.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl
index a1321250de..c6fdb6eedb 100644
--- a/src/rabbit_exchange.erl
+++ b/src/rabbit_exchange.erl
@@ -207,7 +207,8 @@ route(#exchange{name = Name, type = topic}, RoutingKey) ->
queue_name = QName,
key = BindingKey}} <- mnesia:table(route),
ExchangeName == Name,
- % TODO: This causes a full table scan (see bug 19336)
+ % TODO: This causes a full scan for each entry
+ % with the same exchange (see bug 19336)
topic_matches(BindingKey, RoutingKey)]),
lookup_qpids(mnesia:activity(async_dirty, fun() -> qlc:e(Query) end));