diff options
author | Peter Andersson <[email protected]> | 2012-08-27 12:00:24 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2012-08-27 12:00:24 +0200 |
commit | 0ff106bd0fa654c09144102ca5baf73bb1d3a459 (patch) | |
tree | b8d4dfb7b689823a28353b5ad41f0302360ed281 /lib/mnesia/test/mnesia_trans_access_test.erl | |
parent | ae2c50f36806b26530de88d2609cd6ced018cb54 (diff) | |
parent | fd7423d3fc1a32e497084d5c70e2d05792032925 (diff) | |
download | otp-0ff106bd0fa654c09144102ca5baf73bb1d3a459.tar.gz otp-0ff106bd0fa654c09144102ca5baf73bb1d3a459.tar.bz2 otp-0ff106bd0fa654c09144102ca5baf73bb1d3a459.zip |
Merge remote branch 'upstream/maint' into maint
Diffstat (limited to 'lib/mnesia/test/mnesia_trans_access_test.erl')
-rw-r--r-- | lib/mnesia/test/mnesia_trans_access_test.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mnesia/test/mnesia_trans_access_test.erl b/lib/mnesia/test/mnesia_trans_access_test.erl index c040d0ca3f..73c3fe0362 100644 --- a/lib/mnesia/test/mnesia_trans_access_test.erl +++ b/lib/mnesia/test/mnesia_trans_access_test.erl @@ -896,6 +896,10 @@ index_update_bag(Config)when is_list(Config) -> ?match({atomic, [Rec1]}, mnesia:transaction(fun() -> mnesia:index_read(Tab, 2, ValPos) end)), + ?match({atomic, ok}, mnesia:transaction(fun() -> mnesia:delete_object(Rec5) end)), + ?match({atomic, [Rec1]}, + mnesia:transaction(fun() -> mnesia:index_read(Tab, 2, ValPos) end)), + ?match({atomic, ok}, mnesia:transaction(fun() -> mnesia:write(Rec2) end)), {atomic, R1} = mnesia:transaction(fun() -> mnesia:index_read(Tab, 2, ValPos) end), |