summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-12-08 16:08:57 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2010-12-08 16:08:57 +0000
commit18bf78777256f58ccea9b42e24e4066efa948188 (patch)
treeddd9557dd91104748c32697aca533b4003d94ede /src
parent61d670551c4ef4cb447549dc7273ee47e5ac1b09 (diff)
downloadrabbitmq-server-git-18bf78777256f58ccea9b42e24e4066efa948188.tar.gz
Add a TODO
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mnesia.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 65404aae51..bdc4d76c98 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -214,6 +214,8 @@ table_definitions() ->
{match, #amqqueue{name = queue_name_match(), _='_'}}]}]
++ plugin_table_definitions().
+%% TODO: re-work this abuse of the application env as a register with
+%% the generic registry that should be landing at some point.
add_table_definition(Def) ->
ok = application:set_env(rabbit, plugin_mnesia_tables,
[Def | plugin_table_definitions()], infinity).