aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_evil_backup.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-10-27 11:06:38 +0200
committerDan Gudmundsson <[email protected]>2011-11-07 14:19:45 +0100
commit95a7cca40ae52f32b9eb4f0664857e804636ec2c (patch)
treeea1516e4dd9725aa5ebfa823564ca47dc9a73249 /lib/mnesia/test/mnesia_evil_backup.erl
parent567a8276de0b146bfcbf6e81626d11694ca8edf8 (diff)
downloadotp-95a7cca40ae52f32b9eb4f0664857e804636ec2c.tar.gz
otp-95a7cca40ae52f32b9eb4f0664857e804636ec2c.tar.bz2
otp-95a7cca40ae52f32b9eb4f0664857e804636ec2c.zip
[mnesia] Remove export of clear_table which is not a schema operation anymore
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)],