aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/ext_test.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2016-11-09 16:15:29 +0100
committerRichard Carlsson <[email protected]>2016-11-11 14:42:04 +0100
commit98dc4f8c225982cca0bc1fd221167ee9f4031547 (patch)
tree44de2cafa4df915f3a95b3edd6b4028cb06f3c6d /lib/mnesia/test/ext_test.erl
parent99bb976389c8971b755f103a67143815a6b3e388 (diff)
downloadotp-98dc4f8c225982cca0bc1fd221167ee9f4031547.tar.gz
otp-98dc4f8c225982cca0bc1fd221167ee9f4031547.tar.bz2
otp-98dc4f8c225982cca0bc1fd221167ee9f4031547.zip
Don't wrap continuations from mnesia_ext backends
Continuations returned from mnesia_ext backends were originally wrapped with the backend module, but that was a remnant of the earliest implementation, and is not actually needed, since Mnesia already knows what the table storage type is when it applies the continuation. When mnesia_ext was ported to OTP 19, the wrapper got changed to use the table type alias instead of the module, which triggered an error in the mnesia_eleveldb backend. This patch removes the wrapping completely.
Diffstat (limited to 'lib/mnesia/test/ext_test.erl')
-rw-r--r--lib/mnesia/test/ext_test.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/test/ext_test.erl b/lib/mnesia/test/ext_test.erl
index 45ddb148bc..b7904c95ac 100644
--- a/lib/mnesia/test/ext_test.erl
+++ b/lib/mnesia/test/ext_test.erl
@@ -233,5 +233,5 @@ select_1({Acc, C}) ->
select(ext_ets, Tab, Ms, Limit) when is_integer(Limit); Limit =:= infinity ->
ets:select(mnesia_lib:val({?MODULE,Tab}), Ms, Limit).
-repair_continuation({Alias, Cont}, Ms) ->
- {Alias, ets:repair_continuation(Cont, Ms)}.
+repair_continuation(Cont, Ms) ->
+ ets:repair_continuation(Cont, Ms).