aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_tm.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2010-03-30 10:22:04 +0200
committerErlang/OTP <[email protected]>2010-03-30 10:22:04 +0200
commitd2e9fc8ba0bb0e077a70cc4f8da9b6c0539209c6 (patch)
treefde1e904c195aa3ce19a00dc7b3097769c5b5992 /lib/mnesia/src/mnesia_tm.erl
parent7ec00dcfdc34a455230054b6bdd37a6c61fd7a45 (diff)
parent999f1b99b295a69d3c505b601f14554acf4522d3 (diff)
downloadotp-d2e9fc8ba0bb0e077a70cc4f8da9b6c0539209c6.tar.gz
otp-d2e9fc8ba0bb0e077a70cc4f8da9b6c0539209c6.tar.bz2
otp-d2e9fc8ba0bb0e077a70cc4f8da9b6c0539209c6.zip
Merge branch 'bd/mnesia-activity-subscription' into dev
* bd/mnesia-activity-subscription: Add mnesia activity subscription message
Diffstat (limited to 'lib/mnesia/src/mnesia_tm.erl')
-rw-r--r--lib/mnesia/src/mnesia_tm.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl
index d42109c3da..f3ffac5493 100644
--- a/lib/mnesia/src/mnesia_tm.erl
+++ b/lib/mnesia/src/mnesia_tm.erl
@@ -1733,7 +1733,9 @@ do_commit(Tid, C, DumperMode) ->
R = do_snmp(Tid, C#commit.snmp),
R2 = do_update(Tid, ram_copies, C#commit.ram_copies, R),
R3 = do_update(Tid, disc_copies, C#commit.disc_copies, R2),
- do_update(Tid, disc_only_copies, C#commit.disc_only_copies, R3).
+ R4 = do_update(Tid, disc_only_copies, C#commit.disc_only_copies, R3),
+ mnesia_subscr:report_activity(Tid),
+ R4.
%% Update the items
do_update(Tid, Storage, [Op | Ops], OldRes) ->