diff options
author | Vlad Ionescu <vlad@lshift.net> | 2011-02-14 11:53:00 -0600 |
---|---|---|
committer | Vlad Ionescu <vlad@lshift.net> | 2011-02-14 11:53:00 -0600 |
commit | f01d24451a6f53313eacf82d2971d6eebe83bb55 (patch) | |
tree | 960c2e2033281e96b93638d32cdc2c93d5cba2c9 /src/rabbit_upgrade_functions.erl | |
parent | 94910f541801e40958d81bf7dbee15923c1a4c2a (diff) | |
download | rabbitmq-server-f01d24451a6f53313eacf82d2971d6eebe83bb55.tar.gz |
fixing field lists
Diffstat (limited to 'src/rabbit_upgrade_functions.erl')
-rw-r--r-- | src/rabbit_upgrade_functions.erl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit_upgrade_functions.erl b/src/rabbit_upgrade_functions.erl index 4f679483..a1ccb121 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}]). %%-------------------------------------------------------------------- |