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 | 97b52fc91d35f5d7a2bb33b3ad7a8a8a5f8a0673 (patch) | |
| tree | d0d4d165964ed733b9660e7d6c581a10530cb2a2 /src | |
| parent | faf1e5b490bcc2dd33f48f9f2f4a87c811d4e67a (diff) | |
| download | rabbitmq-server-git-97b52fc91d35f5d7a2bb33b3ad7a8a8a5f8a0673.tar.gz | |
cosmetic: update comment on table_filter
Diffstat (limited to 'src')
| -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 87181c2453..cec10ff609 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) -> |
