summaryrefslogtreecommitdiff
path: root/src/rabbit_mnesia.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-10-11 12:19:44 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-10-11 12:19:44 +0100
commit56041246f12bb8ac081456763790188a617ad2f9 (patch)
treee93ecfb7ac7787623a39ef75318ffc257b611472 /src/rabbit_mnesia.erl
parentaf19b7fb0391a1b352862384d005f56a80ad236b (diff)
downloadrabbitmq-server-56041246f12bb8ac081456763790188a617ad2f9.tar.gz
Rename file, store an empty list since the DAG may have multiple heads.
Diffstat (limited to 'src/rabbit_mnesia.erl')
-rw-r--r--src/rabbit_mnesia.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index bcb69681..6b34f7ee 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -44,8 +44,8 @@
-include("rabbit.hrl").
--define(SCHEMA_VERSION, origin).
--define(SCHEMA_VERSION_FILENAME, "rabbitmq_schema_version").
+-define(SCHEMA_VERSION_SET, []).
+-define(SCHEMA_VERSION_FILENAME, "schema_version").
%%----------------------------------------------------------------------------
@@ -95,7 +95,7 @@ init() ->
ok = ensure_mnesia_dir(),
ok = rabbit_misc:write_term_file(filename:join(
dir(), ?SCHEMA_VERSION_FILENAME),
- [?SCHEMA_VERSION]),
+ [?SCHEMA_VERSION_SET]),
ok = init_db(read_cluster_nodes_config(), true),
ok.