aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mnesia/src/mnesia_index.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mnesia/src/mnesia_index.erl b/lib/mnesia/src/mnesia_index.erl
index 11e729f565..6f9f575d93 100644
--- a/lib/mnesia/src/mnesia_index.erl
+++ b/lib/mnesia/src/mnesia_index.erl
@@ -304,6 +304,7 @@ add_ram_index(Tab, Pos) when is_integer(Pos) ->
SetOrBag = val({Tab, setorbag}),
IndexType = case SetOrBag of
set -> duplicate_bag;
+ ordered_set -> duplicate_bag;
bag -> bag
end,
Index = mnesia_monitor:mktab(mnesia_index, [IndexType, public]),