summaryrefslogtreecommitdiff
path: root/src/rabbit_upgrade_functions.erl
diff options
context:
space:
mode:
authorVlad Ionescu <vlad@lshift.net>2011-02-14 12:07:19 -0600
committerVlad Ionescu <vlad@lshift.net>2011-02-14 12:07:19 -0600
commit91323e269a0e9f9fff5c5b4cbdeb43e3b6c9014c (patch)
treed5dd770abb1d9d09c2d15a3a878ac64335b95a8e /src/rabbit_upgrade_functions.erl
parentf01d24451a6f53313eacf82d2971d6eebe83bb55 (diff)
downloadrabbitmq-server-91323e269a0e9f9fff5c5b4cbdeb43e3b6c9014c.tar.gz
fixing attributes in rabbit_upgrade_functions:topic_trie/0
Diffstat (limited to 'src/rabbit_upgrade_functions.erl')
-rw-r--r--src/rabbit_upgrade_functions.erl14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/rabbit_upgrade_functions.erl b/src/rabbit_upgrade_functions.erl
index a1ccb121..36d1f2dc 100644
--- a/src/rabbit_upgrade_functions.erl
+++ b/src/rabbit_upgrade_functions.erl
@@ -94,14 +94,12 @@ user_to_internal_user() ->
[username, password_hash, is_admin], internal_user).
topic_trie() ->
- create(rabbit_topic_trie_edge,
- [{record_name, topic_trie_edge},
- {attributes, {topic_trie_edge, trie_edge, node_id}},
- {type, ordered_set}]),
- create(rabbit_topic_trie_binding,
- [{record_name, topic_trie_binding},
- {attributes, {topic_trie_binding, trie_binding, value = const}},
- {type, ordered_set}]).
+ create(rabbit_topic_trie_edge, [{record_name, topic_trie_edge},
+ {attributes, [trie_edge, node_id]},
+ {type, ordered_set}]),
+ create(rabbit_topic_trie_binding, [{record_name, topic_trie_binding},
+ {attributes, [trie_binding, value]},
+ {type, ordered_set}]).
%%--------------------------------------------------------------------