summaryrefslogtreecommitdiff
path: root/src/rabbit_mnesia.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-03-22 17:44:39 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-03-22 17:44:39 +0000
commit5fd7264796fbe35dbc7562b1cfc7ef09c4a3f3fb (patch)
tree5367a5375d2bd2b2f97f5657a70672b4b7485954 /src/rabbit_mnesia.erl
parent49025c80d9eb23f59615f6a92522d48aee5bbd3a (diff)
downloadrabbitmq-server-5fd7264796fbe35dbc7562b1cfc7ef09c4a3f3fb.tar.gz
Renaming bits and pieces for consistency and checking a few more return values, plus other minor fixes
Diffstat (limited to 'src/rabbit_mnesia.erl')
-rw-r--r--src/rabbit_mnesia.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 47df1148..75e6eeed 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -528,6 +528,7 @@ move_db() ->
ok.
copy_db(Destination) ->
+ ok = ensure_mnesia_not_running(),
rabbit_misc:recursive_copy(dir(), Destination).
create_tables() ->