aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/wxe_main.cpp
diff options
context:
space:
mode:
authorDaniil Fedotov <[email protected]>2018-06-29 14:54:32 -0400
committerDaniil Fedotov <[email protected]>2018-07-03 09:23:53 -0400
commite052249e6ce4da0c6a022bb8da0186cd678e1054 (patch)
tree50fd509a34ab5e8ea9bc5b10b07f315833d786ad /lib/wx/c_src/wxe_main.cpp
parentd876b9a69fda446bf9d810cca82629ccbd17bf5f (diff)
downloadotp-e052249e6ce4da0c6a022bb8da0186cd678e1054.tar.gz
otp-e052249e6ce4da0c6a022bb8da0186cd678e1054.tar.bz2
otp-e052249e6ce4da0c6a022bb8da0186cd678e1054.zip
Fix delete_object and write convergence in transaction.
Fix a bug, when delete_object was deleting the record if it was written in the same transaction even if it was written to a different value. To verify: %% Create a set table mnesia:create_table(foo, []). %% Write and delete_object in transaction mnesia:transaction(fun() -> mnesia:write({foo, bar, one}), mnesia:delete_object({foo, bar, not_one}) end). {atomic, [{foo, bar, one}]} = mnesia:transaction(fun() -> mnesia:read(foo, bar) end). Added a section to isolation tests to check for non-matching delete_object requests.
Diffstat (limited to 'lib/wx/c_src/wxe_main.cpp')
0 files changed, 0 insertions, 0 deletions