summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Ionescu <vlad@lshift.net>2011-02-14 11:53:00 -0600
committerVlad Ionescu <vlad@lshift.net>2011-02-14 11:53:00 -0600
commit95696be53b8706ead7c6296a76428085aec0f23a (patch)
tree960c2e2033281e96b93638d32cdc2c93d5cba2c9
parent0660e9fb5aa5e8516b1a1a7fa377daac990fd271 (diff)
downloadrabbitmq-server-git-95696be53b8706ead7c6296a76428085aec0f23a.tar.gz
fixing field lists
-rw-r--r--src/rabbit_upgrade_functions.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit_upgrade_functions.erl b/src/rabbit_upgrade_functions.erl
index 4f67948360..a1ccb1216e 100644
--- a/src/rabbit_upgrade_functions.erl
+++ b/src/rabbit_upgrade_functions.erl
@@ -36,6 +36,7 @@
-spec(add_ip_to_listener/0 :: () -> 'ok').
-spec(internal_exchanges/0 :: () -> 'ok').
-spec(user_to_internal_user/0 :: () -> 'ok').
+-spec(topic_trie/0 :: () -> 'ok').
-endif.
@@ -79,8 +80,8 @@ internal_exchanges() ->
{exchange, Name, Type, Durable, AutoDelete, false, Args}
end,
[ ok = transform(T,
- AddInternalFun,
- [name, type, durable, auto_delete, internal, arguments])
+ AddInternalFun,
+ [name, type, durable, auto_delete, internal, arguments])
|| T <- Tables ],
ok.
@@ -95,11 +96,11 @@ user_to_internal_user() ->
topic_trie() ->
create(rabbit_topic_trie_edge,
[{record_name, topic_trie_edge},
- {attributes, {trie_edge, exchange_name, node_id, word}},
+ {attributes, {topic_trie_edge, trie_edge, node_id}},
{type, ordered_set}]),
create(rabbit_topic_trie_binding,
[{record_name, topic_trie_binding},
- {attributes, {trie_binding, exchange_name, node_id, destination}},
+ {attributes, {topic_trie_binding, trie_binding, value = const}},
{type, ordered_set}]).
%%--------------------------------------------------------------------