aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_checkpoint.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-01-30 15:12:07 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:53 +0100
commit4deb4dbc453318bcdf2f6f160cdb219fb31f7926 (patch)
tree1ad63eb2857f6d4cee5b4aaa63cb6ce5f2bb9706 /lib/mnesia/src/mnesia_checkpoint.erl
parentd33ac120455f520a74b3c5cdfc32136d25b3e771 (diff)
downloadotp-4deb4dbc453318bcdf2f6f160cdb219fb31f7926.tar.gz
otp-4deb4dbc453318bcdf2f6f160cdb219fb31f7926.tar.bz2
otp-4deb4dbc453318bcdf2f6f160cdb219fb31f7926.zip
Replace usage of erlang:now() with usage of new API
Diffstat (limited to 'lib/mnesia/src/mnesia_checkpoint.erl')
-rw-r--r--lib/mnesia/src/mnesia_checkpoint.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/src/mnesia_checkpoint.erl b/lib/mnesia/src/mnesia_checkpoint.erl
index 173e3be2f5..442e68a13d 100644
--- a/lib/mnesia/src/mnesia_checkpoint.erl
+++ b/lib/mnesia/src/mnesia_checkpoint.erl
@@ -68,12 +68,12 @@
-import(mnesia_lib, [add/2, del/2, set/2, unset/1]).
-import(mnesia_lib, [dbg_out/2]).
--record(checkpoint_args, {name = {now(), node()},
+-record(checkpoint_args, {name = {erlang:unique_integer([positive]), node()},
allow_remote = true,
ram_overrides_dump = false,
nodes = [],
node = node(),
- now = now(),
+ now, %% unused
cookie = ?unique_cookie,
min = [],
max = [],