aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia
diff options
context:
space:
mode:
authorRick Reed <[email protected]>2013-07-24 16:51:30 -0700
committerLukas Larsson <[email protected]>2014-08-14 17:07:59 +0200
commitbaad9722c84ecb41d2278ac9912d30e42c3b4409 (patch)
treef56e6730f4710cf24860ef141a11a8c35f0d40fb /lib/mnesia
parent5d5f9c1857029d7e8e1de141e29d20dd3de929be (diff)
downloadotp-baad9722c84ecb41d2278ac9912d30e42c3b4409.tar.gz
otp-baad9722c84ecb41d2278ac9912d30e42c3b4409.tar.bz2
otp-baad9722c84ecb41d2278ac9912d30e42c3b4409.zip
Add number of entries to mnesia copy debug message
Diffstat (limited to 'lib/mnesia')
-rw-r--r--lib/mnesia/src/mnesia_loader.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_loader.erl b/lib/mnesia/src/mnesia_loader.erl
index 4afbea1cc2..530317bcdd 100644
--- a/lib/mnesia/src/mnesia_loader.erl
+++ b/lib/mnesia/src/mnesia_loader.erl
@@ -208,7 +208,8 @@ do_get_network_copy(Tab, Reason, Ns, Storage, Cs) ->
set({Tab, load_node}, Node),
set({Tab, load_reason}, Reason),
mnesia_controller:i_have_tab(Tab),
- dbg_out("Table ~p copied from ~p to ~p~n", [Tab, Node, node()]),
+ dbg_out("Table ~p copied from ~p to ~p (~b entries)~n",
+ [Tab, Node, node(), mnesia:table_info(Tab, size)]),
{loaded, ok};
Err = {error, _} when element(1, Reason) == dumper ->
{not_loaded,Err};