~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/mnesia/src/mnesia_backup.erl

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
%% 
16
16
%%     $Id$
17
17
%%
 
18
 
 
19
%%-behaviour(mnesia_backup).
18
20
%0
19
21
 
20
22
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
46
48
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47
49
 
48
50
-module(mnesia_backup).
49
 
-behaviour(mnesia_backup).
50
51
 
51
52
-include_lib("kernel/include/file.hrl").
52
53
 
178
179
            {ok, R, []};
179
180
        {Cont, []} ->
180
181
            read(R#restore{cont = Cont});
 
182
        {Cont, BackupItems, _BadBytes} ->
 
183
            {ok, R#restore{cont = Cont}, BackupItems};
181
184
        {Cont, BackupItems} ->
182
185
            {ok, R#restore{cont = Cont}, BackupItems}
183
186
    end.