aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_evil_backup.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-11-11 11:21:44 +0100
committerDan Gudmundsson <[email protected]>2011-11-11 11:21:44 +0100
commitedf830a338e78cfe88eee181b1e60a5f3f6b671b (patch)
tree121136addec02fd343a0fbb8020a9f6952985a79 /lib/mnesia/test/mnesia_evil_backup.erl
parent857e8a96dc7902e7d6a97ea510a0ce0e69731631 (diff)
parent758e7b817293f7da71c5bdf2c2e2eb6f70e23687 (diff)
downloadotp-edf830a338e78cfe88eee181b1e60a5f3f6b671b.tar.gz
otp-edf830a338e78cfe88eee181b1e60a5f3f6b671b.tar.bz2
otp-edf830a338e78cfe88eee181b1e60a5f3f6b671b.zip
Merge branch 'maint-r14'
Diffstat (limited to 'lib/mnesia/test/mnesia_evil_backup.erl')
-rw-r--r--lib/mnesia/test/mnesia_evil_backup.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/mnesia/test/mnesia_evil_backup.erl b/lib/mnesia/test/mnesia_evil_backup.erl
index 63f4146d98..9e0a8db1ae 100644
--- a/lib/mnesia/test/mnesia_evil_backup.erl
+++ b/lib/mnesia/test/mnesia_evil_backup.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1998-2010. All Rights Reserved.
+%% Copyright Ericsson AB 1998-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -244,9 +244,9 @@ restore(Config, Op) ->
[rpc:call(Node, ?MODULE, check_tab, [Res31, ?LINE]) || Node <- Nodes],
%% Restore all tables on it's nodes
- mnesia_schema:clear_table(Tab1),
- mnesia_schema:clear_table(Tab2),
- mnesia_schema:clear_table(Tab3),
+ mnesia:clear_table(Tab1),
+ mnesia:clear_table(Tab2),
+ mnesia:clear_table(Tab3),
[mnesia:dirty_write({Tab1, N, N+1}) || N <- lists:seq(1, 11)],
[mnesia:dirty_write({Tab2, N, N+1}) || N <- lists:seq(1, 11)],
[mnesia:dirty_write({Tab3, N, N+1}) || N <- lists:seq(1, 11)],