aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src
diff options
context:
space:
mode:
authorGustav Simonsson <[email protected]>2012-03-26 16:13:17 +0200
committerGustav Simonsson <[email protected]>2012-03-26 16:13:26 +0200
commit3e922e3a1995f7a63d7bf457a6a45a3d8010756f (patch)
treeaa5691ddce6cd566b925af920d66792eaa6f8fbb /lib/mnesia/src
parentc1f3ffc3df15422bb60a24eb6417069feec9352f (diff)
parenta85fe55b81f76ed63ebc6d9c6b2b7191fdec810e (diff)
downloadotp-3e922e3a1995f7a63d7bf457a6a45a3d8010756f.tar.gz
otp-3e922e3a1995f7a63d7bf457a6a45a3d8010756f.tar.bz2
otp-3e922e3a1995f7a63d7bf457a6a45a3d8010756f.zip
Merge branch 'ud/fix-return-do_get_disc_copy2' into maint
* ud/fix-return-do_get_disc_copy2: Fixes value returned by mnesia_loader:do_get_disc_copy2/4 OTP-10015 OTP-10016
Diffstat (limited to 'lib/mnesia/src')
-rw-r--r--lib/mnesia/src/mnesia_loader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_loader.erl b/lib/mnesia/src/mnesia_loader.erl
index e443b54016..4ba400fbbf 100644
--- a/lib/mnesia/src/mnesia_loader.erl
+++ b/lib/mnesia/src/mnesia_loader.erl
@@ -57,7 +57,7 @@ disc_load_table(Tab, Reason) ->
do_get_disc_copy2(Tab, _Reason, Storage, _Type) when Storage == unknown ->
verbose("Local table copy of ~p has recently been deleted, ignored.~n",
[Tab]),
- {loaded, ok}; %% ?
+ {not_loaded, storage_unknown};
do_get_disc_copy2(Tab, Reason, Storage, Type) when Storage == disc_copies ->
%% NOW we create the actual table
Repair = mnesia_monitor:get_env(auto_repair),