summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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).