aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-05-03 18:22:45 +0200
committerSverker Eriksson <[email protected]>2017-05-10 11:38:42 +0200
commit95dec7497abbdb06defcb23e99fa31e06597496e (patch)
tree202e04472d05dcbd326fcd1616a3d919b7b16f02 /lib/common_test
parentffa80a41370025ed2fb95967e731f13cc7e45e4f (diff)
downloadotp-95dec7497abbdb06defcb23e99fa31e06597496e.tar.gz
otp-95dec7497abbdb06defcb23e99fa31e06597496e.tar.bz2
otp-95dec7497abbdb06defcb23e99fa31e06597496e.zip
erts: Fix ets:select_replace with {const, NewTuple}
Enable ets:select_replace to do a generic single object compare-and-swap operation of any ets-tuple using a matchspec like this: [{Old, [], [{const, New}]}] The only exception when this does not work is if the key contains maps or atoms looking like variables (like '$1').
Diffstat (limited to 'lib/common_test')
0 files changed, 0 insertions, 0 deletions