diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-04-08 20:09:17 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-04-08 20:09:17 +0100 |
commit | de9c5b5bd077da91ab3dd09b1654e4d0bd650452 (patch) | |
tree | d0d4d165964ed733b9660e7d6c581a10530cb2a2 | |
parent | 98a8472c6f52abb6dcd198ed07a395d337cf35fa (diff) | |
download | rabbitmq-server-de9c5b5bd077da91ab3dd09b1654e4d0bd650452.tar.gz |
cosmetic: update comment on table_filter
-rw-r--r-- | src/rabbit_misc.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 87181c24..cec10ff6 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -460,9 +460,8 @@ map_in_order(F, L) -> lists:reverse( lists:foldl(fun (E, Acc) -> [F(E) | Acc] end, [], L)). -%% Fold over each entry in a table, executing the pre-post-commit function in a -%% transaction. This is often far more efficient than wrapping a tx -%% around the lot. +%% Apply a pre-post-commit function to all entries in a table that +%% satisfy a predicate, and return those entries. %% %% We ignore entries that have been modified or removed. table_filter(Pred, PrePostCommitFun, TableName) -> |